/* ============================================
   杭州辰非科技 — 企业官网样式
   ============================================ */

:root {
  --bg-deep: #060d18;
  --bg-primary: #0a1628;
  --bg-card: #0f1f38;
  --bg-card-hover: #152a4a;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #f97316;
  --accent-light: #fb923c;
  --accent-glow: rgba(249, 115, 22, 0.25);
  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.15);
  --gradient: linear-gradient(135deg, #f97316 0%, #fb923c 50%, #fbbf24 100%);
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

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

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(6, 13, 24, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-full {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(60px);
  animation: pulse-glow 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 80px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1;
}

.stat-suffix {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.flow-wrap {
  position: relative;
  width: min(460px, 100%);
  padding: 24px 20px 16px;
  background: rgba(15, 31, 56, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.flow-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.flow-title::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: heat-pulse 1.6s ease-in-out infinite;
}

@keyframes heat-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.flow-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* 连接线：虚线流动 */
.flow-link {
  fill: none;
  stroke: rgba(34, 211, 238, 0.28);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  animation: link-flow 1s linear infinite;
}

@keyframes link-flow {
  to { stroke-dashoffset: -10; }
}

/* 流动光点 */
.flow-dot {
  fill: var(--cyan);
  filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.9));
}

.flow-dot-sm {
  fill: var(--accent-light);
  filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.9));
}

/* 节点：逐级点亮 */
.flow-node {
  color: var(--border-light);
  animation: node-light 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.flow-node rect {
  fill: var(--bg-card);
  stroke: currentColor;
  stroke-width: 1.2;
  transition: stroke var(--transition);
}

@keyframes node-light {
  0%, 100% { color: var(--border-light); filter: none; }
  8%, 16% { color: rgba(34, 211, 238, 0.85); filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.45)); }
  28% { color: var(--border-light); filter: none; }
}

.flow-cloud rect {
  fill: rgba(249, 115, 22, 0.08);
}

.flow-cloud {
  animation-name: node-light-accent;
}

@keyframes node-light-accent {
  0%, 100% { color: rgba(249, 115, 22, 0.45); filter: none; }
  8%, 16% { color: var(--accent); filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.5)); }
  28% { color: rgba(249, 115, 22, 0.45); filter: none; }
}

.flow-node text {
  font-family: var(--font-sans);
  text-anchor: middle;
}

.node-chip {
  font-size: 13px;
  fill: var(--text-secondary);
}

.node-title {
  font-size: 14px;
  font-weight: 600;
  fill: var(--text-primary);
}

.node-title-lg {
  font-size: 16px;
  fill: var(--accent-light);
}

.node-sub {
  font-size: 9.5px;
  fill: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* ---- About ---- */
.about {
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-content strong {
  color: var(--text-primary);
}

.about-highlights {
  margin-top: 32px;
}

.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.about-highlights svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.about-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.about-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Capabilities Pipeline ---- */
.capabilities {
  background: var(--bg-deep);
}

.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 16px;
}

.pipeline-step {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 0 12px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  transition: all var(--transition);
}

.step-icon svg {
  width: 36px;
  height: 36px;
}

.pipeline-step:hover .step-icon {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.pipeline-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.pipeline-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pipeline-connector {
  width: 40px;
  min-width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-light), var(--accent), var(--border-light));
  margin-top: 72px;
  opacity: 0.5;
}

/* ---- Products ---- */
.products {
  background: var(--bg-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover {
  border-color: var(--border-light);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card.featured {
  grid-row: span 2;
  background: linear-gradient(160deg, var(--bg-card) 0%, #122240 100%);
  border-color: rgba(249, 115, 22, 0.2);
}

.product-card.featured::before {
  opacity: 1;
}

.product-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(249, 115, 22, 0.15);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 20px;
}

.product-icon {
  width: 56px;
  height: 56px;
  color: var(--cyan);
  margin-bottom: 20px;
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.product-features {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.product-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---- Services ---- */
.services {
  background: var(--bg-deep);
}

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

.service-item {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.service-item:hover {
  border-color: rgba(34, 211, 238, 0.3);
  background: var(--bg-card-hover);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(249, 115, 22, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.service-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Cases ---- */
.cases {
  background: var(--bg-primary);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--border-light);
}

.case-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.case-img-1 {
  background: linear-gradient(135deg, #1a3050 0%, #0f2847 50%, #1a3a5c 100%);
}

.case-img-2 {
  background: linear-gradient(135deg, #1a2840 0%, #2a1a30 50%, #1a3050 100%);
}

.case-img-3 {
  background: linear-gradient(135deg, #0f2847 0%, #1a3a5c 50%, #0a2035 100%);
}

.case-img-4 {
  background: linear-gradient(135deg, #1a2535 0%, #2a2030 50%, #1a3050 100%);
}

.case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, var(--accent-glow) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, var(--cyan-glow) 0%, transparent 50%);
}

.case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-light);
}

.case-body {
  padding: 28px;
}

.case-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-body > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.case-metrics {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.case-metrics div {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.case-metrics strong {
  display: block;
  font-size: 1.2rem;
  font-family: var(--font-mono);
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ---- Tech Marquee ---- */
.tech-stack {
  padding: 40px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.tech-marquee {
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.tech-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.tech-track span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Contact ---- */
.contact {
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info p {
  color: var(--text-secondary);
  margin: 20px 0 40px;
  max-width: 440px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.contact-item span {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 24px 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: inherit;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

/* ---- Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-visual {
    order: -1;
    padding: 20px;
  }

  .flow-wrap {
    width: min(380px, 100%);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card.featured {
    grid-row: span 1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pipeline {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pipeline-connector {
    display: none;
  }

  .pipeline-step {
    min-width: 200px;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(6, 13, 24, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 16px;
    text-align: center;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-stats {
    gap: 32px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .services-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .case-metrics {
    flex-wrap: wrap;
    gap: 16px;
  }
}
