/* ============================================
   NMT - 深圳新菱美科技有限公司 官网样式
   ============================================ */

:root {
  --color-primary: #0A2540;
  --color-primary-light: #1A3A5C;
  --color-accent: #00B4D8;
  --color-accent-dark: #0096B7;
  --color-highlight: #E63946;
  --color-gold: #D4A84B;
  --color-bg: #F8FAFC;
  --color-bg-dark: #0A2540;
  --color-surface: #FFFFFF;
  --color-border: #E2E8F0;
  --color-text: #1E293B;
  --color-text-secondary: #475569;
  --color-text-light: #94A3B8;

  --font-display: 'Space Grotesk', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1280px;
  --nav-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(10, 37, 64, 0.08), 0 2px 4px -2px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(10, 37, 64, 0.1), 0 4px 6px -4px rgba(10, 37, 64, 0.06);
  --shadow-xl: 0 20px 25px -5px rgba(10, 37, 64, 0.12), 0 8px 10px -6px rgba(10, 37, 64, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-text-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-secondary);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}

.logo-text span {
  font-size: 11px;
  color: var(--color-text-secondary);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-accent-dark);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: 16px;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
}

.lang-btn.active {
  background: var(--color-primary);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.6) 50%, rgba(0, 180, 216, 0.2) 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  color: #fff;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  max-width: 780px;
}

.hero h1 .accent {
  color: var(--color-accent);
}

.hero h1 .highlight {
  color: var(--color-highlight);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--color-primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 40px;
}

.hero-stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px 12px 0 0;
  border-bottom: none;
}

.stat-item {
  padding: 28px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .unit {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-accent);
  margin-left: 4px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

.about-section {
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.about-image-decor {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-md);
  bottom: -24px;
  right: -24px;
  z-index: -1;
}

.about-text .lead {
  font-size: 18px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.value-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
  transform: translateY(-2px);
}

.value-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.services-section {
  background: #fff;
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(0, 180, 216, 0.04) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(230, 57, 70, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.services-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.services-header .section-label {
  justify-content: center;
}

.services-header .section-title {
  margin-bottom: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 180, 216, 0.02));
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  color: var(--color-accent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card p {
  font-size: 14.5px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 2px;
  background: var(--color-accent);
}

.products-section {
  background: var(--color-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.products-section .section-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.products-section .section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 180, 216, 0.15) 0%, transparent 50%);
}

.products-section .section-title {
  color: #fff;
}

.products-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.products-section .section-label {
  color: var(--color-accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.product-category {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.product-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.product-series {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.product-series strong {
  color: var(--color-accent);
  font-weight: 500;
}

/* 新版详细产品卡片 */
.product-detail-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px 28px 28px;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-detail-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-detail-card:hover::before {
  opacity: 1;
}

.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.2), rgba(0, 180, 216, 0.05));
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  border: 1px solid rgba(0, 180, 216, 0.25);
}

.product-category-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 20px;
  white-space: nowrap;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.product-card-series {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 13px;
}

.product-card-series .series-label {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.product-card-series .series-value {
  color: var(--color-accent);
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}

.product-card-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-accent);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-body);
  width: 100%;
}

.btn-download:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.4);
}

.features-section {
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.feature-item {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border-radius: 50%;
  color: #fff;
}

.feature-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 13.5px;
  color: var(--color-text-secondary);
}

.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 216, 0.08);
  border-radius: 8px;
  color: var(--color-accent);
}

.contact-text .label {
  font-size: 12px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-text .value {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
}

.office-locations {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.office-locations h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.office-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.office-chip {
  padding: 6px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.office-chip .flag {
  margin-right: 4px;
}

.contact-form {
  background: var(--color-bg);
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 8px;
}

.footer {
  background: #061A2E;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 70px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 50px;
}

.footer-brand .logo-text strong {
  color: #fff;
}

.footer-brand .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 20px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item .icon {
  flex-shrink: 0;
  color: var(--color-accent);
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float-anim {
  animation: float 5s ease-in-out infinite;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 24px;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.mobile-menu ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu ul li:last-child {
  border-bottom: none;
}

.mobile-menu ul li a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  display: block;
}

.mobile-lang-toggle {
  padding-top: 8px;
}

@media (max-width: 1024px) {
  .section {
    padding: 70px 0;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .navbar-inner {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }

  .section {
    padding: 56px 0;
  }
  .section-title {
    font-size: 30px;
  }

  .hero {
    min-height: 560px;
    height: auto;
    padding: 120px 0 80px;
  }
  .hero-content {
    padding: 0 20px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .hero-stats {
    position: relative;
    padding: 0 20px;
    margin-top: 40px;
  }
  .hero-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .stat-item {
    padding: 20px 24px;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stat-number {
    font-size: 28px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image img {
    height: 280px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 28px 24px;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .product-card {
    padding: 24px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-form {
    padding: 28px 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-top: 50px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-ctas {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
