/* ========================================
   格子军团 GZJT - Official Website
   Pure CSS, no framework dependency
   ======================================== */

/* === Reset & Variables === */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 40px;
}

.navbar-brand img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.navbar-nav a {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
  white-space: nowrap;
}

.navbar.scrolled .navbar-nav a {
  color: var(--gray-700);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .navbar-nav a:hover,
.navbar.scrolled .navbar-nav a.active {
  background: var(--gray-100);
  color: var(--primary);
}

.navbar-contact {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--white);
  color: var(--primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.navbar.scrolled .btn-contact {
  background: var(--primary);
  color: var(--white);
}

.btn-contact:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

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

.navbar.scrolled .menu-toggle span {
  background: var(--gray-800);
}

/* Mobile nav - hidden by default on all screens */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  padding: 80px 24px 24px;
  transition: transform 0.3s ease, visibility 0.3s ease;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  visibility: hidden;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a.active {
  color: var(--primary);
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 20px;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-600);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact button icon */
.btn-contact-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") no-repeat center;
  vertical-align: middle;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-dark);
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
  z-index: 1;
}

/* Animated geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.06;
}

.hero-shapes .shape-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shapes .shape-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-shapes .shape-3 {
  width: 200px; height: 200px;
  top: 50%; left: 60%;
  animation: float 10s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 100px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: float 2s ease-in-out infinite;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.6s ease 0.1s both;
}

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

.hero p {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat .number {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
}

.hero-stat .number span {
  color: var(--accent);
}

.hero-stat .label {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 4px;
}

/* === Section Common === */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 8px 24px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-radius: 100px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 20px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* === Features === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
}

.feature-card p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* Feature icon colors */
.fi-cost { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.fi-speed { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.fi-stable { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.fi-ux { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.fi-marketing { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.si-ui { background: #5B8FF9; }
.si-ios { background: #61DDAA; }
.si-android { background: #65789B; }
.si-h5 { background: #F6BD16; }
.si-admin { background: #7262fd; }

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* === Guarantees === */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.guarantee-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.guarantee-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.guarantee-img {
  height: 220px;
  overflow: hidden;
}

.guarantee-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guarantee-card:hover .guarantee-img img {
  transform: scale(1.05);
}

.guarantee-body {
  padding: 28px;
}

.guarantee-body h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.guarantee-body p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* === Products === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

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

.product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.product-tag.hot {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.product-tag.new {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.product-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

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

.product-tags span {
  padding: 4px 12px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

/* === Product Detail (products page) === */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-detail.reverse {
  direction: rtl;
}

.product-detail.reverse > * {
  direction: ltr;
}

.product-detail-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  margin-bottom: 16px;
}

.product-detail-badge.hot {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.product-detail-badge.new {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.product-detail-info h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.product-detail-desc {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-features {
  list-style: none;
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.6;
}

.product-features .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 2px;
}

.product-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tech span {
  padding: 5px 14px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

/* Phone mock frame */
.screen-group {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 420px;
}

.phone-frame {
  width: 220px;
  height: 440px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}

.phone-frame.phone-back {
  position: absolute;
  right: 0;
  top: 30px;
  z-index: 1;
  opacity: 0.85;
  transform: scale(0.92);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

/* Laptop mock frame */
.laptop-frame {
  background: #2d2d2d;
  border-radius: 12px 12px 0 0;
  padding: 10px 10px 0;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.laptop-frame::after {
  content: '';
  display: block;
  height: 24px;
  background: #3d3d3d;
  border-radius: 0 0 8px 8px;
  margin: 0 -10px;
  margin-top: 0;
}

.laptop-screen {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow: hidden;
}

/* Mock UI elements inside frames */
.mock-header {
  padding: 16px 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.mock-text-group {
  flex: 1;
}

.mock-text {
  height: 10px;
  background: rgba(0,0,0,0.12);
  border-radius: 4px;
  margin-bottom: 5px;
}

.mock-text.light {
  background: rgba(255,255,255,0.25);
}

.mock-text.w30 { width: 30%; }
.mock-text.w40 { width: 40%; }
.mock-text.w50 { width: 50%; }
.mock-text.w60 { width: 60%; }
.mock-text.w80 { width: 80%; }

.mock-cards {
  padding: 0 12px 12px;
}

.mock-stat-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.mock-stat {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  opacity: 0.9;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.mock-icon-item {
  aspect-ratio: 1;
  background: rgba(0,0,0,0.06);
  border-radius: 10px;
}

.mock-list-item {
  height: 36px;
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
  margin-bottom: 8px;
}

.mock-list-item.tall {
  height: 56px;
}

.mock-nav-bar {
  height: 36px;
  background: var(--primary);
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.mock-search-bar {
  width: 100%;
  height: 28px;
  background: rgba(255,255,255,0.25);
  border-radius: 14px;
}

.mock-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-product {
  aspect-ratio: 1;
  background: rgba(0,0,0,0.06);
  border-radius: 8px;
}

.mock-product-big {
  width: 100%;
  height: 100px;
  background: rgba(0,0,0,0.06);
  border-radius: 8px;
}

.mock-btn {
  height: 32px;
  background: var(--primary);
  border-radius: 16px;
  opacity: 0.9;
}

.mock-btn.green {
  background: #10b981;
}

.mock-calendar {
  width: 100%;
  height: 80px;
  background: white;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.mock-time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mock-slot {
  height: 28px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.mock-slot.active {
  background: #10b981;
}

/* Dashboard mock */
.mock-dashboard {
  display: flex;
  width: 100%;
  height: 100%;
}

.mock-sidebar {
  width: 48px;
  background: var(--dark);
  flex-shrink: 0;
}

.mock-main {
  flex: 1;
  padding: 12px;
  overflow: hidden;
}

.mock-chart-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.mock-chart {
  flex: 1;
  height: 60px;
  border-radius: 6px;
  opacity: 0.7;
}

.mock-chart.wide {
  height: 50px;
}

.mock-card-sm {
  flex: 1;
  height: 40px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.mock-table {
  margin-top: 8px;
}

.mock-table-row {
  height: 20px;
  background: white;
  margin-bottom: 3px;
  border-radius: 3px;
  opacity: 0.7;
}

.mock-table-row.head {
  background: var(--gray-300);
  opacity: 1;
}

.mock-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
}

.funnel-step {
  height: 24px;
  border-radius: 4px;
  opacity: 0.85;
}

/* Products page responsive */
@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-detail.reverse {
    direction: ltr;
  }
  .product-detail-info h2 {
    font-size: 28px;
  }
  .phone-frame {
    width: 180px;
    height: 360px;
  }
  .screen-group {
    min-height: 340px;
  }
}

/* === Cases === */
.case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.case-stat-item {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.case-stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.case-stat-label {
  font-size: 15px;
  color: var(--gray-500);
  margin-top: 6px;
}

.case-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.case-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.case-card-icon {
  font-size: 64px;
  filter: grayscale(0.1);
}

.case-card-body {
  padding: 36px 40px;
}

.case-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.case-tag {
  padding: 4px 12px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.case-card-body h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
}

.case-card-body > p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.case-results {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.case-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-result strong {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 500;
}

.case-result span {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .case-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .case-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .case-card {
    grid-template-columns: 1fr;
  }
  .case-card-visual {
    min-height: 160px;
  }
  .case-card-body {
    padding: 24px;
  }
  .case-card-body h3 {
    font-size: 20px;
  }
  .case-results {
    gap: 16px;
  }
}

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

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.contact-link {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

a.contact-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-qr {
  margin-top: 4px;
}

.contact-qr img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  margin: 0 auto;
  border: 2px solid var(--gray-200);
}

/* === CTA === */
.cta {
  background: var(--gradient-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.08;
  top: -200px;
  right: -100px;
}

.cta h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta p {
  font-size: 16px;
  color: var(--gray-400);
  margin-bottom: 36px;
  position: relative;
}

.cta .btn {
  position: relative;
}

/* === Footer === */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) opacity(0.8);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--gray-500);
}

.footer-brand .slogan {
  font-size: 15px;
  color: var(--gray-300);
  font-weight: 500;
}

.footer h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray-500);
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-contact .icon {
  font-size: 16px;
}

.footer-qrcode {
  margin-top: 16px;
}

.footer-qrcode img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 2px solid var(--gray-700);
}

.footer-qrcode span {
  display: block;
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-600);
}

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

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

/* === About Page === */
.page-hero {
  background: var(--gradient-dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.06;
  top: -200px; right: -100px;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 18px;
  color: var(--gray-400);
  position: relative;
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-list {
  margin-top: 24px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--gray-700);
}

.about-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 2px;
}

/* === Cooperation Section === */
.coop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.coop-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.coop-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.coop-card .step {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}

.coop-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.coop-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 40px; }
  .hero-stats { gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .navbar-nav,
  .navbar-contact { display: none; }
  .menu-toggle { display: flex; }

  /* Mobile nav overrides handled by global styles */

  .hero { min-height: auto; padding: 60px 0; }
  .hero-content { padding: 100px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stat .number { font-size: 28px; }

  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 28px; }

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .guarantees-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .coop-grid { grid-template-columns: 1fr; }

  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .about-img img { height: 250px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 32px; }

  .cta h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
}
