/* ============================================================
   恒研科技 企业品牌官网 - 完整样式表
   1:1 复刻 Figma 生成项目
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  --font-size: 16px;
  --background: #f4f7fc;
  --foreground: #0f1829;
  --card: #ffffff;
  --card-foreground: #0f1829;
  --primary: #1435a0;
  --primary-foreground: #ffffff;
  --secondary: #eef2fb;
  --secondary-foreground: #1435a0;
  --muted: #eef2fb;
  --muted-foreground: #6271a0;
  --accent: #ff6b1a;
  --accent-foreground: #ffffff;
  --destructive: #d4183d;
  --border: rgba(20, 53, 160, 0.1);
  --input-background: #f0f3fa;
  --radius: 0.5rem;
  --font-serif: 'Noto Serif SC', serif;
  --font-sans: 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Utilities ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 1080px;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--muted-foreground);
}

.section {
  padding: 7rem 0;
}

.section-label {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 1rem auto 0;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  background-color: rgba(20, 53, 160, 0.9);
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background-color: #e55e0f;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background-color: rgba(255,255,255,0.05);
}

.btn-cta {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ==================== Navbar ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 4rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-box {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  margin-left: 2.5rem;
}

.nav-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  padding: 0.25rem 0;
}
.nav-link:hover {
  color: var(--foreground);
}
.nav-link.active {
  color: var(--primary);
  font-weight: 500;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.875rem;
}

.nav-lang {
  position: relative;
  padding-bottom: 0.7rem;
  margin-bottom: -0.7rem;
}

.nav-lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 6rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  color: var(--foreground);
  font-size: 0.875rem;
  line-height: 1;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.nav-lang-current:hover,
.nav-lang:focus-within .nav-lang-current {
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
}

.nav-lang-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.nav-lang-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-lang:hover .nav-lang-arrow,
.nav-lang:focus-within .nav-lang-arrow {
  transform: rotate(180deg);
}

.nav-lang-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 9rem;
  display: none;
  padding: 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.85rem;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 18px 40px rgba(15,23,42,0.14);
}

.nav-lang-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.7rem;
  height: 0.7rem;
}

.nav-lang:hover .nav-lang-menu,
.nav-lang:focus-within .nav-lang-menu {
  display: block;
}

.nav-lang-option {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  text-align: left;
  color: var(--foreground);
}

.nav-lang-option:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  color: var(--foreground);
  padding: 0.25rem;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
}

.mobile-link {
  text-align: left;
  color: var(--muted-foreground);
  padding: 0.25rem 0;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.mobile-link:hover {
  color: var(--primary);
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f1829 0%, #1435a0 50%, #0a2060 100%);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  mix-blend-mode: luminosity;
}

.hero-dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-glow-1 {
  top: 25%;
  right: 33%;
  width: 20rem;
  height: 20rem;
  background: rgba(255, 107, 26, 0.2);
}
.hero-glow-2 {
  bottom: 25%;
  left: 25%;
  width: 15rem;
  height: 15rem;
  background: rgba(255,255,255,0.05);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
  border: 1px solid rgba(255,107,26,0.4);
  background: rgba(255,107,26,0.1);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 28rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: background 0.3s;
}
.stat-card:hover {
  background: rgba(255,255,255,0.15);
}

.stat-icon {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* ==================== About ==================== */
.about {
  background-color: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-left p {
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cert-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  height: 420px;
}

.floating-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--primary);
  border-radius: 0.5rem;
  padding: 1.25rem;
  box-shadow: 0 10px 40px rgba(20,53,160,0.3);
}

.badge-subtitle {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.25rem;
}

.badge-year {
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
}

.badge-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

/* ==================== Video ==================== */
.video-section {
  background-color: var(--muted);
}

.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 18rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #0f1829;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  cursor: pointer;
  margin-top: 3rem;
}

.video-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.video-player.playing .video-cover {
  opacity: 0.2;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,24,41,0.8), transparent);
  z-index: 1;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(255,107,26,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 4;
}
.video-player:hover .video-play-btn {
  background: rgba(255,107,26,0.3);
  transform: translate(-50%, -50%) scale(1.05);
}
.video-player.playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-player iframe,
.video-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  z-index: 3;
  background: #000;
}

.video-player.playing .video-overlay,
.video-player.playing .video-duration,
.video-player.playing .video-info {
  opacity: 0;
  pointer-events: none;
}

.play-svg {
  margin-left: 2px;
}

.pause-bars {
  display: flex;
  gap: 3px;
}

.pause-bar {
  width: 4px;
  height: 24px;
  background: var(--accent);
  border-radius: 2px;
}

.video-duration {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  z-index: 2;
  transition: opacity 0.3s;
}

.video-info {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  text-align: left;
  z-index: 2;
  transition: opacity 0.3s;
}

.video-title-text {
  font-family: var(--font-serif);
  color: #fff;
  font-weight: 600;
  font-size: 1.125rem;
}

.video-desc-text {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin-top: 0.125rem;
}

.video-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

/* ==================== Services ==================== */
.services {
  background-color: var(--background);
}

.services .section-label,
.services .section-title {
  text-align: center;
}
.services .section-title {
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.service-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
}
.service-card:hover {
  border-color: rgba(20,53,160,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.service-img-box {
  height: 13rem;
  overflow: hidden;
  background: var(--muted);
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: all 0.5s;
}
.service-card:hover .service-img {
  opacity: 1;
  transform: scale(1.05);
}

.service-body {
  padding: 1.5rem;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.service-tag {
  font-size: 0.75rem;
  color: var(--primary);
  border: 1px solid rgba(20,53,160,0.2);
  background: rgba(20,53,160,0.05);
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
}

.service-arrow {
  color: var(--muted-foreground);
  transition: color 0.3s;
}
.service-card:hover .service-arrow {
  color: var(--primary);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ==================== Contact ==================== */
.contact {
  background-color: var(--muted);
}

.contact .section-title,
.contact .section-label {
  text-align: center;
}

/* Sales Team */
.sales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.sales-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s;
}
.sales-card:hover {
  border-color: rgba(20,53,160,0.3);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.sales-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sales-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  flex-shrink: 0;
  background: var(--muted);
  transition: border-color 0.3s;
}
.sales-card:hover .sales-avatar {
  border-color: rgba(20,53,160,0.4);
}

.sales-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sales-name {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--foreground);
}

.sales-role {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 0.125rem;
  font-weight: 500;
}

.sales-region {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.sales-region svg {
  color: var(--primary);
  flex-shrink: 0;
}

.sales-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.sales-contact {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sales-contact:hover {
  color: var(--primary);
}
.sales-contact svg {
  color: var(--primary);
  flex-shrink: 0;
}

.sales-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.625rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: all 0.2s;
}
.sales-call-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(20,53,160,0.05);
}

/* Contact Bottom */
.contact-bottom {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5rem;
}

/* Form */
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.form-input {
  background: var(--input-background);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s;
}
.form-input::placeholder {
  color: var(--muted-foreground);
}
.form-input:focus {
  border-color: rgba(20,53,160,0.6);
}

.form-textarea {
  resize: none;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 0.75rem;
  margin-top: 0.25rem;
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

/* Form Success */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.success-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(20,53,160,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.success-text {
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.success-sub {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.form-feedback {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.6;
  background: rgba(20,53,160,0.08);
  color: var(--primary);
}

.form-feedback.is-error {
  background: rgba(212,24,61,0.08);
  color: var(--destructive);
}

.form-feedback.is-success {
  background: rgba(20,53,160,0.08);
  color: var(--primary);
}

/* Info Cards */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.info-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.info-item:last-child {
  margin-bottom: 0;
}
.info-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.625rem;
}
.time-row:last-child {
  margin-bottom: 0;
}

.time-value {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--foreground);
}

.time-urgent {
  font-weight: 500;
  color: var(--accent);
}

.cta-card {
  background: var(--primary);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.cta-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.cta-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #fff;
  font-weight: 500;
}
.cta-link:hover {
  text-decoration: underline;
}

/* ==================== Footer ==================== */
.footer {
  background: #0f1829;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-box-sm {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.25rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-img-sm {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.footer-sep {
  margin: 0 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* ==================== Responsive ==================== */

/* Tablet: < 1024px */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img {
    height: 320px;
  }

  .floating-badge {
    bottom: -1rem;
    left: -1rem;
  }

  .sales-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-bottom {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu.open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-bottom: 4rem;
  }

  .hero-content {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 0.9375rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-img-wrap {
    width: 100%;
  }

  .floating-badge {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    left: auto;
    margin-top: 0;
    display: inline-block;
    padding: 0.875rem 1rem;
    max-width: calc(100% - 1.5rem);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .about-img {
    height: 250px;
  }

  .about-right {
    display: block;
  }

  .video-player {
    min-height: 12rem;
  }
}

/* Small Mobile: < 480px */
@media (max-width: 480px) {
  .floating-badge {
    right: 0.5rem;
    bottom: 0.5rem;
    padding: 0.75rem 0.875rem;
  }

  .badge-subtitle,
  .badge-desc {
    font-size: 0.6875rem;
  }

  .badge-year {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.625rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
