@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --brand-blue: #0b2c4a;
  --brand-gray: #1f2b37;
  --tech-gray: #7b8794;
  --accent: #ff9f1c;
  --accent-strong: #ffa733;
  --bg-light: #f4f7fb;
  --bg-dark: #071524;
  --border: #e1e7ef;
  --text: #1a1a1a;
  --text-light: #f8f8f8;
  --shadow: 0 20px 40px rgba(9, 30, 66, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background-color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  line-height: 1.7;
  margin-top: 0;
  color: rgba(2, 15, 32, 0.8);
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0d1c2c;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-strong);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline.dark {
  color: var(--brand-blue);
  border-color: rgba(11, 44, 74, 0.2);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(9, 30, 66, 0.08);
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue), #164569);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-text span:first-child {
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
}

.brand-text small {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--tech-gray);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--brand-gray);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(255, 159, 28, 0.12);
}

.lang-switch {
  display: flex;
  gap: 0.4rem;
  border: 1px solid rgba(11, 44, 74, 0.2);
  border-radius: 999px;
  padding: 0.2rem;
}

.lang-switch button {
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: none;
  font-weight: 600;
  cursor: pointer;
  color: var(--brand-blue);
  transition: background 0.2s ease;
}

.lang-switch button.active {
  background: var(--brand-blue);
  color: #fff;
}

.hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top left, rgba(255, 159, 28, 0.2), transparent 40%),
    linear-gradient(180deg, #081320, #0b1d30);
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1489515217757-5fd1be406fef?auto=format&fit=crop&w=1600&q=80')
    center/cover;
  opacity: 0.08;
  mix-blend-mode: screen;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 720px;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.metric-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-card h3 {
  margin: 0;
  font-size: 1.8rem;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.7);
}

section {
  padding: 4.5rem 0;
}

section:nth-of-type(even) {
  background: var(--bg-light);
}

.section-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-headline h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--brand-blue);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(6, 24, 44, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card h3 {
  margin: 0;
  color: var(--brand-blue);
}

.icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(11, 44, 74, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--brand-blue);
}

.product-card {
  overflow: hidden;
  padding: 0;
}

.product-card img {
  height: 220px;
  object-fit: cover;
}

.product-card .content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 44, 74, 0.08);
  color: var(--brand-blue);
  font-size: 0.85rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.filters select,
.filters input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 180px;
  font-family: inherit;
}

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.partner-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  background: #fff;
  text-align: center;
  font-weight: 600;
  color: var(--brand-gray);
}

.timeline {
  border-left: 2px solid var(--border);
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  position: relative;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.47rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(255, 159, 28, 0.2);
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-weight: 600;
  color: var(--brand-blue);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

footer {
  background: var(--bg-dark);
  color: #e4ebf5;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid h4 {
  margin: 0 0 0.8rem;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.4rem;
}

.map-embed {
  width: 100%;
  min-height: 260px;
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.video-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  background: #020b16;
}

.video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.video-hero .overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  background: linear-gradient(120deg, rgba(7, 21, 36, 0.85), rgba(11, 44, 74, 0.6));
  text-align: center;
  padding: 2rem;
}

.cta-banner {
  background: linear-gradient(135deg, #0b2c4a, #17486f);
  border-radius: 24px;
  padding: 3rem;
  color: #fff;
  display: grid;
  gap: 1.2rem;
  box-shadow: var(--shadow);
}

.cta-banner h3 {
  margin: 0;
  font-size: 2rem;
}

.solution-card {
  border-left: 4px solid var(--accent);
}

.solution-card ul {
  padding-left: 1.2rem;
}

.badge {
  background: rgba(255, 159, 28, 0.18);
  color: var(--accent);
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table thead {
  background: var(--bg-light);
}

.table th,
.table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery img {
  border-radius: 14px;
  height: 180px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.stacked-cards {
  display: grid;
  gap: 1.5rem;
}

.stacked-cards .card {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.stacked-cards .card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
}

.notice {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 159, 28, 0.15);
  color: var(--brand-blue);
  border: 1px solid rgba(255, 159, 28, 0.25);
}

.admin-panel {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
}

.status-pill {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.status-pill.new {
  background: rgba(17, 205, 239, 0.2);
  color: #03738c;
}

.status-pill.reviewed {
  background: rgba(255, 159, 28, 0.2);
  color: #9c5905;
}

.status-pill.closed {
  background: rgba(76, 217, 128, 0.2);
  color: #16733e;
}

.floating-chat {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  background: #1f7aec;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow);
}

.floating-chat a {
  color: #fff;
  font-weight: 600;
}

.floating-chat .icon {
  font-size: 1.2rem;
}

.mobile-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.5rem;
}

@media (max-width: 960px) {
  .navigation {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .section-headline {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 4rem;
  }

  .stacked-cards .card {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
  }

  .brand-text span:first-child {
    font-size: 1rem;
  }

  .cta-banner {
    padding: 2rem;
  }

  .filters {
    flex-direction: column;
  }
}

