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

:root {
  --brand-blue: #001B3D;
  --brand-action: #0059BB;
  --brand-surface: #F8F9FA;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --white: #ffffff;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  background: #f0f7ff;
  padding: 8px 16px;
  border-radius: 10px;
}

.logo-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-blue);
}

.logo-accent {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-action);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--brand-action);
}

.lang-btn {
  padding: 8px 16px;
  border: 2px solid var(--brand-action);
  background: transparent;
  color: var(--brand-action);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  background: var(--brand-action);
  color: var(--white);
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 50%, #f0fdf4 100%);
  text-align: center;
}

.hero-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--brand-action);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 89, 187, 0.3);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 89, 187, 0.4);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--brand-surface);
}

.section-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-blue);
  text-align: center;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Cases Grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.case-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}

.case-img-contain {
  object-fit: contain;
  background: #0a0a0f;
}

.case-info {
  padding: 20px;
}

.case-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.case-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f0f7ff;
  color: var(--brand-action);
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
}

.case-placeholder {
  border: 2px dashed #d1d5db;
  background: transparent;
  box-shadow: none;
  cursor: default;
}

.case-placeholder:hover {
  transform: none;
  box-shadow: none;
}

.case-placeholder-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 240px;
}

.case-placeholder-icon {
  width: 48px;
  height: 48px;
  color: #d1d5db;
  margin-bottom: 16px;
}

/* About */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e2e8f0;
}

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

.stat-num {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-action);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-item {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--brand-action);
}

.service-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-item {
  background: var(--white);
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--brand-action);
}

.advantage-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.contact-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--brand-surface);
  border-radius: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--brand-action);
}

.contact-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background: var(--brand-blue);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-icp {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
  .cases-grid,
  .services-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-desc {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .cases-grid,
  .services-grid,
  .advantages-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
