/* ============================
   CSS Variables & Reset
   ============================ */
:root {
  --color-primary: #4f46e5;
  --color-primary-light: #818cf8;
  --color-primary-dark: #3730a3;
  --color-secondary: #06b6d4;
  --color-accent: #8b5cf6;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-text-inverse: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
}

*, *::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: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

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

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

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

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

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--color-primary);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title.text-left {
  text-align: left;
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================
   Navbar
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  z-index: 1001;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 18px;
}

.navbar:not(.scrolled) .logo-text {
  color: #fff;
}

.navbar.scrolled .logo-text {
  color: var(--color-text);
}

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

.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition);
}

.navbar:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

.navbar:not(.scrolled) .nav-links a:hover,
.navbar:not(.scrolled) .nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-links a {
  color: var(--color-text-light);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.08);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--color-text);
}

.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
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #312e81 70%, #1e1b4b 100%);
}

.hero-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(79, 70, 229, 0.3), transparent),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(6, 182, 212, 0.2), transparent),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(139, 92, 246, 0.2), transparent);
}

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

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 0 80px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
}

.stat-item {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  display: block;
  background: linear-gradient(135deg, #fff, var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ============================
   Products
   ============================ */
.products {
  background: var(--color-bg-alt);
}

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

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

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

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

.product-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--color-primary);
}

.product-icon svg {
  width: 32px;
  height: 32px;
}

.product-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.product-desc {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

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

.product-features li {
  padding: 4px 12px;
  background: var(--color-bg-alt);
  border-radius: 100px;
  font-size: 12px;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ============================
   Cases
   ============================ */
.case-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 24px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: transparent;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

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

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

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

.case-card.hidden {
  display: none;
}

.case-image {
  height: 240px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.case-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.case-type {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* Mock UI in case cards */
.case-mock {
  width: 100%;
  max-width: 320px;
  height: 160px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.case-mock-phone {
  flex-direction: column;
  max-width: 140px;
  height: 180px;
  border-radius: var(--radius-sm);
}

.mock-sidebar {
  width: 50px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mock-main {
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.mock-cards {
  display: flex;
  gap: 4px;
}

.mock-card-sm {
  flex: 1;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.mock-header-bar {
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mock-content {
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-banner-sm {
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.mock-banner-sm.gradient-banner {
  background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
}

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

.mock-icon-circle {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.mock-list-item {
  height: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.mock-tab-bar {
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-shrink: 0;
}

.mock-tab-item {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-map-area {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  margin-bottom: 8px;
}

.mock-bottom-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

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

.mock-text-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.mock-line.short {
  width: 60%;
}

.mock-btn-sm {
  width: 28px;
  height: 16px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  flex-shrink: 0;
}

.mock-form-area {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-input {
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.mock-btn-full {
  height: 18px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

.case-info {
  padding: 24px;
}

.case-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

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

.case-tags span {
  padding: 3px 10px;
  background: var(--color-bg-alt);
  border-radius: 100px;
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 500;
}

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

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

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

.about-advantages {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.advantage-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  flex-shrink: 0;
}

.advantage-icon svg {
  width: 24px;
  height: 24px;
}

.advantage-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.advantage-item p {
  font-size: 14px;
  color: var(--color-text-light);
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-stack {
  width: 360px;
  height: 360px;
  position: relative;
}

.tech-orbit {
  width: 100%;
  height: 100%;
  position: relative;
  animation: orbit-rotate 30s linear infinite;
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tech-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 40px rgba(79, 70, 229, 0.3);
}

.tech-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  transform: 
    rotate(var(--angle))
    translate(var(--distance))
    rotate(calc(-1 * var(--angle)));
  animation: counter-rotate 30s linear infinite;
}

@keyframes counter-rotate {
  from { transform: rotate(var(--angle)) translate(var(--distance)) rotate(calc(-1 * var(--angle) - 0deg)); }
  to { transform: rotate(var(--angle)) translate(var(--distance)) rotate(calc(-1 * var(--angle) - 360deg)); }
}

/* ============================
   Contact
   ============================ */
.contact {
  background: var(--color-bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition);
}

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

.info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  flex-shrink: 0;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.info-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact-form-wrap {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}

.map-wrap {
  position: relative;
  width: 100%;
  height: 350px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-bg-alt), #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--transition);
}

.map-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.map-placeholder {
  text-align: center;
  color: var(--color-text-light);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}

.map-placeholder p {
  font-size: 14px;
  font-weight: 500;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--color-primary);
  color: #fff;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

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

.footer-links a,
.footer-links li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
}

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

/* ============================
   Back to Top
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ============================
   Animations
   ============================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================
   Mobile Responsive
   ============================ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }

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

  .about-grid {
    gap: 40px;
  }

  .tech-stack {
    width: 300px;
    height: 300px;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 28px;
  }

  /* Nav mobile */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .navbar.scrolled .nav-links a,
  .nav-links a {
    color: var(--color-text);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--color-primary);
    background: rgba(79, 70, 229, 0.08);
  }

  /* Hero mobile */
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 200px;
  }

  .hero-stats {
    gap: 30px;
  }

  .stat-number {
    font-size: 32px;
  }

  .scroll-indicator {
    display: none;
  }

  /* Products mobile */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Cases mobile */
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-image {
    height: 200px;
  }

  /* About mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .tech-stack {
    width: 280px;
    height: 280px;
  }

  .tech-item {
    width: 44px;
    height: 44px;
    font-size: 10px;
  }

  /* Contact mobile */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .map-wrap {
    height: 250px;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 26px;
  }

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

  .stat-number {
    font-size: 28px;
  }

  .product-card {
    padding: 24px 20px;
  }

  .contact-form-wrap {
    padding: 20px;
  }
}
