/* MCSI - Static HTML/CSS Styles */

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

:root {
  /* Dark corporate palette */
  --background: hsl(220, 25%, 10%);
  --foreground: hsl(210, 20%, 95%);
  --card: hsl(220, 25%, 14%);
  --card-foreground: hsl(210, 20%, 95%);
  --popover: hsl(220, 25%, 12%);
  --primary: hsl(0, 72%, 55%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(220, 20%, 20%);
  --muted: hsl(220, 15%, 18%);
  --muted-foreground: hsl(215, 15%, 60%);
  --accent: hsl(220, 20%, 22%);
  --border: hsl(220, 15%, 22%);
  --ring: hsl(0, 72%, 55%);
  --radius: 0.75rem;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(220, 25%, 8%) 0%, hsl(220, 30%, 16%) 50%, hsl(220, 25%, 10%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(220, 25%, 16%) 0%, hsl(220, 25%, 12%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(0, 72%, 55%) 0%, hsl(15, 80%, 50%) 100%);
  --shadow-glow: 0 0 60px -15px hsla(0, 72%, 55%, 0.3);
  --shadow-card: 0 10px 40px -10px hsla(220, 30%, 5%, 0.6);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-primary {
  color: var(--primary);
}

.font-semibold {
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: flex;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s ease-out forwards;
}

.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-hero {
  background: var(--gradient-accent);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 80px -10px hsla(0, 72%, 55%, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

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

.btn-full {
  width: 100%;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-hero:hover svg:last-child {
  transform: translateX(4px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(220, 25%, 10%, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 55px;
  display: flex;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 2rem;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.025em;
}

.logo-sublabel {
  font-size: 1rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

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

.badge-soc2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
}

.badge-soc2 svg {
  color: var(--primary);
}

.mobile-menu-btn {
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

.mobile-nav {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--foreground);
}

.mobile-nav .btn {
  margin-top: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero-blob-1 {
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsla(0, 72%, 55%, 0.05);
}

.hero-blob-2 {
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: hsla(0, 72%, 55%, 0.03);
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: hsla(220, 25%, 14%, 0.5);
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}

.company-badge svg {
  color: var(--primary);
}

.company-badge span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.hero-product {
  font-size: 1rem;
  color: hsla(210, 20%, 95%, 0.8);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .trust-badges {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: hsla(220, 25%, 14%, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.trust-badge:hover {
  border-color: hsla(0, 72%, 55%, 0.3);
}

.trust-badge svg {
  color: var(--primary);
}

.trust-label {
  font-weight: 600;
  color: var(--foreground);
}

.trust-sublabel {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--background), transparent);
}

/* Section Styles */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid hsla(0, 72%, 55%, 0.3);
  background: hsla(0, 72%, 55%, 0.1);
  margin-bottom: 1.5rem;
}

.section-badge svg {
  color: var(--primary);
}

.section-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.section-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.section-cta {
  text-align: center;
  margin-top: 4rem;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: var(--background);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.5s ease;
}

.service-card:hover {
  border-color: hsla(0, 72%, 55%, 0.3);
  transform: translateY(-4px);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsla(0, 72%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: hsla(0, 72%, 55%, 0.2);
}

.service-icon svg {
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.bullet {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Expertise Section */
.expertise {
  padding: 6rem 0;
  background: var(--gradient-hero);
}

.strengths-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

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

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

.strength-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: hsla(220, 25%, 14%, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.strength-card:hover {
  border-color: hsla(0, 72%, 55%, 0.2);
}

.strength-card svg {
  color: var(--primary);
  margin-bottom: 1rem;
}

.strength-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.strength-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.stats-bar {
  background: hsla(220, 25%, 14%, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 2rem;
}

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

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

.stat {
  text-align: center;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-content .section-title {
  text-align: left;
}

.about-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsla(220, 25%, 14%, 0.5);
  border: 1px solid var(--border);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsla(0, 72%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  color: var(--primary);
}

.about-feature h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.about-feature p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.client-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.client-type {
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.client-type:hover {
  border-color: hsla(0, 72%, 55%, 0.3);
  transform: translateY(-4px);
}

.client-type svg {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.client-type h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.client-type p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: var(--gradient-hero);
}

.contact-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  padding: 2rem;
  border-radius: 1rem;
  background: hsla(220, 25%, 14%, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: block;
}

.contact-card:hover {
  border-color: hsla(0, 72%, 55%, 0.3);
  transform: translateY(-4px);
}

.contact-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: hsla(0, 72%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: hsla(0, 72%, 55%, 0.2);
}

.contact-icon svg {
  color: var(--primary);
}

.contact-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-value {
  color: var(--primary);
  font-weight: 500;
}

.contact-location {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 4fr 1fr;
  }
}

.footer-brand {
  max-width: 35rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.footer-badges svg {
  color: var(--primary);
}

.footer-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

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

.footer-bottom-links a:last-child:hover {
  color: var(--primary);
}
