:root {
  --primary-color: #0056b3;
  /* Deep Blue */
  --accent-color: #00a8e8;
  /* Cyan/Light Blue */
  --text-dark: #1a1a1a;
  --text-light: #f5f5f5;
  --text-gray: #666666;
  --bg-light: #ffffff;
  --bg-dark: #121212;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition-speed: 0.3s;
  --font-main: 'Inter', 'Noto Sans SC', sans-serif;
}

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

[v-cloak] {
  display: none;
}

[v-cloak] * {
  display: none;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

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

/* Header */
.site-header {
  position: absolute;
  /* Transparent overlay */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background-color var(--transition-speed), padding var(--transition-speed);
}

.site-header.scrolled {
  position: fixed !important;
  background-color: #111827 !important;
  padding: 15px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Swiper Content Overlay Fix */
.swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none !important;
}

.swiper-initialized .swiper-slide {
  display: flex !important;
  /* Match the flex class on slides */
}

.swiper-slide {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.swiper-initialized .swiper-slide-active {
  opacity: 1;
}

.swiper-initialized .swiper-slide {
  opacity: 1;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 1px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 5px;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-light);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width var(--transition-speed);
}

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

.mobile-menu-toggle,
.mobile-nav-drawer,
.mobile-menu-overlay {
  display: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 90vh;
  /* Large impactful banner */
  min-height: 600px;
  background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
  /* Industrial/Tech BG */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  /* Gradient overlay */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  letter-spacing: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-block;
  padding-top: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  transition: all var(--transition-speed);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #004494;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  position: relative;
  /* top: -50px; Overlap effect if desired, matching the image look is cleaner without partial overlap though */
}

.section-header {
  margin-bottom: 60px;
  border-left: 5px solid var(--primary-color);
  /* The left bar style often seen in corporate designs */
  padding-left: 20px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-gray);
  font-size: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border-top: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-top-color: var(--accent-color);
}

.feature-icon {
  font-size: 3rem;
  color: var(--accent-color);
  /* Green/Blueish in the image */
  margin-bottom: 25px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #333;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.feature-list li::before {
  content: '•';
  color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 0;
}

/* Footer */
.site-footer {
  background-color: #222;
  color: #ccc;
  padding-top: 60px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 15px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.animate-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .header-container {
    padding: 0 20px;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .main-nav {
    display: none;
    /* Hide desktop nav on mobile */
  }

  .mobile-nav-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background-color: #111827;
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .mobile-nav-drawer.active {
    right: 0;
  }

  /* Overlay for when mobile menu is open */
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Make mobile links block for better click area */
  #mobile-nav-list li a {
    display: block;
    padding: 10px 0;
    width: 100%;
  }
}

/* Rich Text Editor Content Styling */
.ql-editor-mini ul,
.rich-text ul {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1rem;
}

.ql-editor-mini ol,
.rich-text ol {
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1rem;
}

.ql-editor-mini li,
.rich-text li {
  margin-bottom: 0.25rem;
  list-style: inherit !important;
}

.ql-editor-mini p,
.rich-text p {
  margin-bottom: 0.5rem;
}