/* ====
   MODERN MINIMAL DESIGN - IT SYNERGIES
   ==== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background: #0a0a0a;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.site-header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.site-logo {
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.site-logo:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.site-logo:hover img {
  opacity: 0.8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a {
  color: #e0e0e0;
  transition: color 0.3s ease;
  position: relative;
  padding: 0 1rem;
}

.main-nav a:hover {
  color: #fff;
}

.nav-cta {
  background: #fff;
  color: #0a0a0a !important;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.nav-cta:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #888;
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-cta {
  display: inline-block;
  background: #fff;
  color: #0a0a0a;
  padding: 1.2rem 3rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid #fff;
}

.hero-cta:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  color: #666;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-alt {
  background: #0f0f0f;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #666;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-intro {
  font-size: 1.2rem;
  color: #999;
  line-height: 1.7;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
  margin-top: 4rem;
}

.stat-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: grayscale(30%);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #888;
  line-height: 1.5;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 2rem;
  display: block;
  filter: grayscale(30%);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.service-description {
  font-size: 1rem;
  color: #999;
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  padding: 6rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section .section-title {
  margin-bottom: 1.5rem;
}

.cta-section .section-intro {
  margin-bottom: 2.5rem;
}

/* Contact Form */
.contact-section {
  padding: 8rem 0;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3.5rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
  color: #e0e0e0;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-button {
  background: #fff;
  color: #0a0a0a;
  padding: 1.1rem 3rem;
  border: 2px solid #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.form-button:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.contact-info {
  text-align: center;
  margin-top: 3rem;
  color: #888;
  font-size: 1rem;
}

.contact-info strong {
  color: #fff;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
}

.blog-image {
  width: 100%;
  height: 220px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-content {
  padding: 2.5rem;
}

.blog-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 1rem;
  color: #999;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-link {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.blog-link:hover {
  transform: translateX(5px);
}

/* Footer */
.site-footer {
  background: #0a0a0a;
  color: #888;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #777;
}

.footer-links h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #777;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* Page Header (for separate pages) */
.page-header {
  padding: 10rem 0 6rem;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header .section-kicker {
  margin-bottom: 1.5rem;
}

.page-header .section-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.page-header .section-intro {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .page-header .section-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .hero {
    min-height: auto;
    padding: 6rem 2rem 4rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-header {
    padding: 8rem 0 4rem;
  }

  .page-header .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form {
    padding: 2.5rem;
  }

  .service-card {
    padding: 2rem;
  }
}

/* Smooth Animations */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .stat-item,
  .blog-card {
    animation: fadeInUp 0.6s ease-out;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}