/* =================================================================== 
 * Enhanced Cidrus Website
 * Maintaining Original Design Language with Professional Improvements
 * =================================================================== */

/* ===================================================================
 * # CSS Variables & Base Styles
 * ================================================================== */

:root {
  /* Colors - Enhanced from original palette */
  --accent-primary: #F87537;
  --accent-secondary: #ff8c52;
  --background-dark: #121212;
  --background-darker: #0a0a0a;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  
  /* Typography - Enhanced from original */
  --font-display: "DM Serif Display", serif;
  --font-body: "Gothic A1", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Animations */
  --transition-fast: 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-smooth: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-slow: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===================================================================
 * # Base Styles
 * ================================================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--background-dark);
  overflow-x: hidden;
}

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

/* ===================================================================
 * # Enhanced Preloader
 * ================================================================== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--background-darker);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

#loader {
  position: relative;
  width: 60px;
  height: 20px;
  margin-bottom: 2rem;
}

#loader > div {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: dots-fade 1.6s infinite ease;
}

#loader > div:nth-child(1) {
  left: 0;
  animation-delay: 0s;
}

#loader > div:nth-child(2) {
  left: 24px;
  animation-delay: 0.4s;
}

#loader > div:nth-child(3) {
  left: 48px;
  animation-delay: 0.8s;
}

.preloader-text {
  color: var(--text-muted);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes dots-fade {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
}

/* ===================================================================
 * # Enhanced Header
 * ================================================================== */

.s-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
}

.header-logo .logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-image {
  height: 32px;
  width: auto;
  transition: var(--transition-fast);
}

.logo-accent {
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.header-nav {
  display: flex;
  gap: 3rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-fast);
}

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

.header-email {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
}

.header-email svg {
  fill: var(--accent-primary);
}

.header-email a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.header-email a:hover {
  color: var(--accent-primary);
}

/* ===================================================================
 * # Enhanced Hero Section
 * ================================================================== */

.s-intro {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12rem 2rem 8rem;
}

@media screen and (max-width: 768px) {
  .s-intro {
    padding: 10rem 2rem 6rem;
    min-height: 100vh;
  }
}

@media screen and (max-width: 480px) {
  .s-intro {
    padding: 8rem 1rem 4rem;
    min-height: 100vh;
  }
}

.intro-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.intro-particles canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 2;
}

.intro-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 3.2rem 2rem;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .intro-content {
    max-width: 100%;
    padding: 3.2rem 1rem;
  }
  
  .intro-title {
    font-size: 4.5rem !important;
    line-height: 1.1;
    margin-bottom: 2rem;
  }
  
  .intro-description {
    font-size: 1.8rem;
    margin-bottom: 3rem;
  }
  
  .intro-metrics {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .intro-actions {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media screen and (max-width: 480px) {
  .intro-content {
    padding: 3.2rem 0.5rem;
  }
  
  .intro-title {
    font-size: 3.2rem !important;
    margin-bottom: 1.5rem;
  }
  
  .intro-description {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
  }
  
  .intro-badge {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 1rem 2rem;
  border-radius: 50px;
  margin-bottom: 3rem;
  font-size: 1.4rem;
  color: var(--text-secondary);
  animation: slideUp 0.8s ease-out;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.intro-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 2rem;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.title-accent {
  color: var(--accent-primary);
  position: relative;
}

.title-accent::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
  animation: expandLine 1s ease-out 1s both;
}

.intro-description {
  font-size: 2rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: slideUp 0.8s ease-out 0.4s both;
}

.intro-metrics {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 5rem;
  animation: slideUp 0.8s ease-out 0.6s both;
}

.metric {
  text-align: center;
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1.4rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.intro-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  animation: slideUp 0.8s ease-out 0.8s both;
}

/* ===================================================================
 * # Enhanced Buttons
 * ================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 10px 30px rgba(248, 117, 55, 0.3);
}

.btn--primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(248, 117, 55, 0.4);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-subtle);
}

.btn--secondary:hover {
  background: var(--glass-bg);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn--outline {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn--outline:hover {
  background: var(--accent-primary);
  color: white;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn svg {
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(5px);
}

/* ===================================================================
 * # Services Section
 * ================================================================== */

.s-services {
  padding: 12rem 0;
  background: var(--background-darker);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: 2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 4rem 3rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: white;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-content h3 {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.service-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  color: var(--text-muted);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

/* ===================================================================
 * # Technology & Process Section
 * ================================================================== */

.s-expertise {
  padding: 12rem 0;
  background: var(--background-dark);
}

.tech-showcase {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
}

.tech-category {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.tech-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.tech-category:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
}

.tech-category:hover::before {
  opacity: 1;
}

.tech-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3rem;
  font-size: 3rem;
  color: white;
  transition: var(--transition-smooth);
}

.tech-category:hover .tech-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(248, 117, 55, 0.3);
}

.tech-category h3 {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tech-tag {
  background: var(--background-darker);
  border: 1px solid var(--border-subtle);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 1.3rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.tech-tag:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.process-flow {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 5rem 4rem;
  position: relative;
}

.process-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 5rem;
}

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

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(248, 117, 55, 0.3);
}

.step-content h4 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.5rem;
}

/* Process step connecting lines for larger screens */
@media screen and (min-width: 1200px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    position: relative;
  }
  
  .process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
    z-index: -1;
  }
}

/* ===================================================================
 * # Vendor Partnerships Section
 * ================================================================== */

.vendor-partnerships {
  margin-top: 8rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 25px;
  padding: 5rem 4rem;
  position: relative;
}

.partnerships-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

.partnerships-subtitle {
  color: var(--text-secondary);
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.partnership-card {
  background: var(--background-darker);
  border: 1px solid var(--border-subtle);
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.partnership-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.partnership-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

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

.partnership-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  color: white;
  transition: var(--transition-smooth);
}

.partnership-card:hover .partnership-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(248, 117, 55, 0.3);
}

.partnership-card h4 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.partnership-card p {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 1.4rem;
}

/* ===================================================================
 * # Contact Section
 * ================================================================== */

.s-contact {
  padding: 12rem 0;
  background: var(--background-darker);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 6rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  transition: var(--transition-smooth);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.contact-card h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.contact-card a {
  color: var(--accent-primary);
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.8rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 1.6rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  font-size: 1.4rem;
  opacity: 0.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(248, 117, 55, 0.1);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
  opacity: 0.4;
}

.form-group:focus-within label {
  color: var(--accent-primary);
}

.btn-loading {
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ===================================================================
 * # Footer
 * ================================================================== */

.s-footer {
  background: var(--background-dark);
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 2rem;
  max-width: 400px;
  margin-bottom: 3rem;
}

.company-address {
  margin-top: 2rem;
}

.company-address h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.company-address address {
  color: var(--text-secondary);
  font-style: normal;
  line-height: 1.6;
  font-size: 1.4rem;
}

.footer-links {
  display: flex;
  gap: 6rem;
}

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.footer-section a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.social-links {
  display: flex;
  gap: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-links a:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
  transform: translateY(-3px);
}

/* ===================================================================
 * # Modal
 * ================================================================== */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal__inner {
  background: var(--background-darker);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 4rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.modal__close:hover {
  background: var(--accent-primary);
  color: white;
}

.success-content {
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
  color: white;
}

.success-content h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 2.4rem;
}

.success-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal__inner--large {
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}

.legal-content {
  text-align: left;
}

.legal-content h2 {
  color: var(--text-primary);
  margin-bottom: 3rem;
  font-size: 2.8rem;
  font-family: var(--font-display);
}

.legal-content h3 {
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  font-size: 1.8rem;
  font-weight: 600;
}

.legal-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-text p {
  margin-bottom: 1.5rem;
}

.legal-text ul {
  margin: 1rem 0 1.5rem 2rem;
}

.legal-text li {
  margin-bottom: 0.5rem;
}

.legal-text a {
  color: var(--accent-primary);
  text-decoration: none;
}

.legal-text a:hover {
  text-decoration: underline;
}

.legal-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Custom scrollbar for legal modals */
.modal__inner--large::-webkit-scrollbar {
  width: 8px;
}

.modal__inner--large::-webkit-scrollbar-track {
  background: var(--background-darker);
  border-radius: 4px;
}

.modal__inner--large::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

.modal__inner--large::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* ===================================================================
 * # Animations
 * ================================================================== */

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

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

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

@keyframes expandLine {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes glow {
  from { opacity: 0.5; }
  to { opacity: 0.8; }
}

/* ===================================================================
 * # Responsive Design
 * ================================================================== */

@media screen and (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .tech-categories {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .s-header {
    padding: 0 2rem;
    height: 70px;
  }
  
  .header-nav {
    display: none;
  }
  
  .header-email {
    font-size: 1.4rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .tech-categories {
    grid-template-columns: 1fr;
  }
  
  .tech-category {
    padding: 3rem 2rem;
  }
  
  .process-flow {
    padding: 3rem 2rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .partnerships-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .vendor-partnerships {
    padding: 3rem 2rem;
    margin-top: 4rem;
  }
  
  .partnership-card {
    padding: 2rem 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-links {
    gap: 3rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .s-header {
    height: 60px;
    padding: 0 1rem;
  }
  
  .header-email {
    font-size: 1.2rem;
  }
  
  .header-email a {
    display: none;
  }
  
  .header-email svg {
    margin: 0;
  }
  
  .service-card {
    padding: 3rem 2rem;
  }
  
  .tech-stack {
    gap: 0.8rem;
  }
  
  .tech-tag {
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
  }
  
  .process-title {
    font-size: 2.5rem;
  }
  
  .modal__inner {
    padding: 3rem 2rem;
  }
}