/* ============================================================
   Blue Sky & White Clouds Theme — Blockchain Dev Company
   Complete Production Stylesheet
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS Variables
   ---------------------------------------------------------- */
:root {
  /* Sky palette */
  --sky: #0ea5e9;
  --sky-dark: #0284c7;
  --sky-light: #38bdf8;
  --sky-lighter: #7dd3fc;
  --sky-lightest: #bae6fd;
  --sky-tint: #e0f2fe;
  --cloud: #f0f9ff;
  --sun: #fbbf24;
  --sun-glow: #fde68a;

  /* Gray scale */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --black: #000000;
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;

  /* Telegram / WhatsApp / WeChat brand */
  --telegram: #0088cc;
  --whatsapp: #25d366;
  --wechat: #07c160;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(14, 165, 233, 0.08);
  --shadow-md: 0 4px 16px rgba(14, 165, 233, 0.10);
  --shadow-lg: 0 8px 32px rgba(14, 165, 233, 0.12);
  --shadow-xl: 0 16px 48px rgba(14, 165, 233, 0.16);
  --shadow-card: 0 4px 24px rgba(14, 165, 233, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(14, 165, 233, 0.18);
  --shadow-glass: 0 8px 32px rgba(14, 165, 233, 0.10);
  --shadow-button: 0 4px 14px rgba(14, 165, 233, 0.30);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-base: 0.3s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);

  /* Layout */
  --header-height: 72px;
  --container-max: 1200px;
  --section-gap: 100px;
}

/* ----------------------------------------------------------
   2. Reset + Body
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ----------------------------------------------------------
   3. Container
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.4;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-sky {
  background: linear-gradient(135deg, var(--sky-light), var(--sky-dark));
  color: var(--white);
  box-shadow: var(--shadow-button);
}

.btn-sky:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.40);
  filter: brightness(1.08);
}

.btn-sky:active {
  transform: translateY(0);
}

.btn-outline-sky {
  background: transparent;
  color: var(--sky);
  border-color: var(--sky-light);
}

.btn-outline-sky:hover {
  background: var(--cloud);
  border-color: var(--sky);
  color: var(--sky-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn i,
.btn svg {
  font-size: 1.1em;
}

/* ----------------------------------------------------------
   5. Header
   ---------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(14, 165, 233, 0.08);
  box-shadow: var(--shadow-glass);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--sky-dark);
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--sky-light), var(--sky-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--sky);
  background: var(--cloud);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.lang-btn .fa-chevron-down {
  font-size: 10px;
  transition: transform var(--transition-fast);
}

.lang-switcher.open .fa-chevron-down {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 100;
  overflow: hidden;
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.lang-option:hover,
.lang-option.active {
  background: var(--sky-tint);
  color: var(--sky);
}

.header-cta {
  padding: 8px 22px;
  font-size: 14px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ----------------------------------------------------------
   6. Hero Section
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.sky-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #bae6fd 0%, #e0f2fe 40%, #ffffff 100%);
  z-index: 0;
}

.clouds {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.sun {
  position: absolute;
  top: 12%;
  right: 12%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--sun) 40%, var(--sun-glow) 70%, transparent 100%);
  border-radius: 50%;
  z-index: 1;
  box-shadow:
    0 0 40px rgba(251, 191, 36, 0.4),
    0 0 80px rgba(251, 191, 36, 0.2),
    0 0 120px rgba(251, 191, 36, 0.1);
  animation: pulse-glow 4s ease-in-out infinite;
}

.birds {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-dark);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.sky-gradient-text {
  background: linear-gradient(135deg, var(--sky), var(--sky-light), #67e8f9, var(--sky));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 4s ease-in-out infinite;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--sky-dark);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  perspective: 1200px;
}

.hero-card-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--ease-out);
  overflow: hidden;
  position: relative;
}

.hero-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-3d-card:hover .hero-card-inner {
  transform: rotateY(0) rotateX(0);
}

.float-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 22px;
  z-index: 6;
  animation: float 6s ease-in-out infinite;
}

.float-icon:nth-child(1) {
  top: -10%;
  left: 5%;
  animation-delay: 0s;
}
.float-icon:nth-child(2) {
  top: 5%;
  right: -8%;
  animation-delay: 0.8s;
}
.float-icon:nth-child(3) {
  bottom: 5%;
  right: -5%;
  animation-delay: 1.6s;
}
.float-icon:nth-child(4) {
  bottom: -8%;
  left: 10%;
  animation-delay: 2.4s;
}
.float-icon:nth-child(5) {
  top: 40%;
  left: -12%;
  animation-delay: 3.2s;
}
.float-icon:nth-child(6) {
  top: 25%;
  right: -12%;
  animation-delay: 4s;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 500;
  z-index: 5;
  animation: bounce-down 2s ease-in-out infinite;
}

.hero-scroll i,
.hero-scroll svg {
  font-size: 20px;
}

.hero-spotlight {
  position: absolute;
  top: 20%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-mesh-glow {
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-ripple {
  position: absolute;
  bottom: 20%;
  left: 15%;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: ripple-expand 4s ease-out infinite;
}

/* ----------------------------------------------------------
   7. Cloud Animations
   ---------------------------------------------------------- */
.cloud {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-full);
  opacity: 0.8;
  z-index: 1;
  animation: cloud-drift linear infinite;
  pointer-events: none;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: var(--white);
  border-radius: 50%;
}

.cloud::before {
  width: 60%;
  height: 140%;
  top: -50%;
  left: 20%;
}

.cloud::after {
  width: 40%;
  height: 110%;
  top: -30%;
  left: 55%;
}

@keyframes cloud-drift {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(calc(100vw + 120%));
  }
}

/* ----------------------------------------------------------
   8. Bird Animations
   ---------------------------------------------------------- */
.bird {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  animation: bird-fly linear infinite;
}

.bird::before,
.bird::after {
  content: '';
  position: absolute;
  background: var(--gray-600);
  width: 14px;
  height: 2px;
  border-radius: 2px;
  transform-origin: bottom center;
}

.bird::before {
  left: -14px;
  transform: rotate(-30deg);
  animation: bird-wing-left 0.4s ease-in-out infinite alternate;
}

.bird::after {
  left: 0;
  transform: rotate(30deg);
  animation: bird-wing-right 0.4s ease-in-out infinite alternate;
}

@keyframes bird-fly {
  0% {
    transform: translate(-60px, 0);
  }
  100% {
    transform: translate(calc(100vw + 60px), -40px);
  }
}

@keyframes bird-wing-left {
  0% { transform: rotate(-30deg); }
  100% { transform: rotate(-55deg); }
}

@keyframes bird-wing-right {
  0% { transform: rotate(30deg); }
  100% { transform: rotate(55deg); }
}

/* ----------------------------------------------------------
   9. Page Hero (Inner Pages)
   ---------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(180deg, #bae6fd 0%, #e0f2fe 50%, var(--white) 100%);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(14, 165, 233, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.page-hero-compact {
  padding: 110px 0 40px;
}

.page-hero-compact h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 8px;
}

.page-hero-compact p {
  font-size: 15px;
}

/* ----------------------------------------------------------
   10. Sections
   ---------------------------------------------------------- */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  background: var(--sky-tint);
  color: var(--sky-dark);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(14, 165, 233, 0.15);
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--gray-900);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   11. Keywords
   ---------------------------------------------------------- */
.keywords-section {
  padding: 40px 0 60px;
}

.keywords-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.keyword-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--cloud);
  color: var(--sky-dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid rgba(14, 165, 233, 0.12);
  transition: all var(--transition-base);
  cursor: default;
}

.keyword-tag:hover {
  background: var(--sky);
  color: var(--white);
  border-color: var(--sky);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ----------------------------------------------------------
   12. Products Grid
   ---------------------------------------------------------- */
.products-section {
  background: var(--cloud);
  padding: 80px 0;
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.15), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-base);
  border: 1px solid rgba(14, 165, 233, 0.06);
  overflow: hidden;
  cursor: pointer;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  background: radial-gradient(
    400px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(14, 165, 233, 0.08),
    transparent 60%
  );
}

.product-card:hover::after {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(14, 165, 233, 0.15);
}

.product-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky-light), var(--sky-dark));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover .product-card-glow {
  opacity: 1;
}

.product-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--sky-tint), var(--cloud));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--sky);
  margin-bottom: 20px;
  border: 1px solid rgba(14, 165, 233, 0.1);
}

.product-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.product-image-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.05);
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.product-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sky);
  transition: all var(--transition-fast);
}

.product-cta:hover {
  gap: 10px;
  color: var(--sky-dark);
}

/* ----------------------------------------------------------
   13. Stats
   ---------------------------------------------------------- */
.stats-section {
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 28px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.stat-number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ----------------------------------------------------------
   14. Features
   ---------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  background: radial-gradient(
    400px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(14, 165, 233, 0.06),
    transparent 60%
  );
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover {
  border-color: rgba(14, 165, 233, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--sky-tint), var(--cloud));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--sky);
  margin-bottom: 20px;
  border: 1px solid rgba(14, 165, 233, 0.1);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   15. About Page
   ---------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.about-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-card:hover {
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: var(--shadow-card);
}

.about-card .feature-icon {
  flex-shrink: 0;
}

.about-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.about-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   16. Contact Page
   ---------------------------------------------------------- */
.contact-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.04));
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
}

.contact-warning i,
.contact-warning svg {
  color: var(--warning);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-cards-full {
  max-width: 960px;
  margin: 0 auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  cursor: pointer;
}

.contact-card:hover {
  border-color: rgba(14, 165, 233, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.contact-card .icon,
.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-card .info,
.contact-card-info {
  flex: 1;
  min-width: 0;
}

.contact-card .info h4,
.contact-card .info h3,
.contact-card-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--gray-900);
}

.contact-card .info p,
.contact-card-info p {
  font-size: 14px;
  color: var(--text-secondary);
  word-break: break-all;
}

.contact-card.telegram .icon,
.telegram-card .contact-card-icon {
  background: rgba(0, 136, 204, 0.12);
  color: #0088cc;
}

.contact-card.telegram:hover,
.telegram-card:hover {
  border-color: #0088cc;
  background: linear-gradient(135deg, rgba(0,136,204,0.04), rgba(0,136,204,0.08));
}

.telegram-card {
  border-left: 4px solid #0088cc;
}

.contact-card.whatsapp .icon,
.whatsapp-card .contact-card-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}

.contact-card.whatsapp:hover,
.whatsapp-card:hover {
  border-color: #25d366;
  background: linear-gradient(135deg, rgba(37,211,102,0.04), rgba(37,211,102,0.08));
}

.whatsapp-card {
  border-left: 4px solid #25d366;
}

.contact-card.wechat .icon,
.wechat-card .contact-card-icon {
  background: rgba(7, 193, 96, 0.12);
  color: #07c160;
}

.contact-card.wechat:hover,
.wechat-card:hover {
  border-color: #07c160;
  background: linear-gradient(135deg, rgba(7,193,96,0.04), rgba(7,193,96,0.08));
}

.wechat-card {
  border-left: 4px solid #07c160;
}

.contact-card.address .icon,
.address-card .contact-card-icon {
  background: var(--sky-tint);
  color: var(--sky);
}

.contact-card.address:hover,
.address-card:hover {
  border-color: var(--sky);
  background: linear-gradient(135deg, rgba(14,165,233,0.04), rgba(14,165,233,0.08));
}

.address-card {
  border-left: 4px solid var(--sky);
}

.contact-card .fa-external-link-alt {
  color: var(--gray-400);
  font-size: 14px;
  transition: color 0.2s;
}

.telegram-card:hover .fa-external-link-alt { color: #0088cc; }
.whatsapp-card:hover .fa-external-link-alt { color: #25d366; }

.contact-card .copy-btn {
  color: var(--gray-400);
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s;
}
.contact-card .copy-btn:hover { color: #07c160; }

/* ----------------------------------------------------------
   17. Modal
   ---------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-base);
  position: relative;
  text-align: center;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition-fast);
  font-size: 20px;
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--sky-tint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--sky);
}

.modal h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.modal p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.modal-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  transition: all var(--transition-base);
  cursor: pointer;
}

.modal-contact-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.modal-contact-btn.telegram {
  background: var(--telegram);
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.3);
}

.modal-contact-btn.whatsapp {
  background: var(--whatsapp);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.modal-contact-btn.wechat {
  background: var(--wechat);
  box-shadow: 0 4px 14px rgba(7, 193, 96, 0.3);
}

/* ----------------------------------------------------------
   18. Footer
   ---------------------------------------------------------- */
.footer {
  background: #0c1426;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky-light), var(--sky), var(--sky-light), transparent);
}

.footer::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--sky-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item i,
.footer-contact-item svg {
  font-size: 16px;
  color: var(--sky-light);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.footer-link-highlight {
  color: var(--sky-light) !important;
  font-weight: 600;
  position: relative;
}

.footer-link-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--sky-light);
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.footer-link-highlight:hover {
  color: var(--sky-lighter) !important;
}

.footer-link-highlight:hover::after {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--sky-light);
}

/* ----------------------------------------------------------
   19. Keyframe Animations
   ---------------------------------------------------------- */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes float-random {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(6px, -10px) rotate(2deg);
  }
  50% {
    transform: translate(-4px, -16px) rotate(-1deg);
  }
  75% {
    transform: translate(8px, -6px) rotate(1deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 0 40px rgba(251, 191, 36, 0.4),
      0 0 80px rgba(251, 191, 36, 0.2),
      0 0 120px rgba(251, 191, 36, 0.1);
  }
  50% {
    box-shadow:
      0 0 60px rgba(251, 191, 36, 0.5),
      0 0 100px rgba(251, 191, 36, 0.3),
      0 0 160px rgba(251, 191, 36, 0.15);
  }
}

@keyframes bounce-down {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(10px);
  }
  60% {
    transform: translateX(-50%) translateY(5px);
  }
}

@keyframes shimmer-text {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes ripple-expand {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes orbit-spin {
  0% {
    transform: rotate(0deg) translateX(60px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(60px) rotate(-360deg);
  }
}

@keyframes shoot {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateX(200px) translateY(100px);
    opacity: 0;
  }
}

/* ----------------------------------------------------------
   20. Particles
   ---------------------------------------------------------- */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--sky-lighter);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
  animation: float-random 8s ease-in-out infinite;
}

.particle:nth-child(odd) {
  width: 3px;
  height: 3px;
  opacity: 0.3;
  animation-duration: 10s;
}

.particle:nth-child(3n) {
  width: 5px;
  height: 5px;
  opacity: 0.25;
  animation-duration: 12s;
  background: var(--sky-light);
}

/* ----------------------------------------------------------
   21. Card tilt glow (JS sets --glow-x, --glow-y)
   already defined on .product-card::after and
   .feature-card::after above — duplicated here for clarity
   ---------------------------------------------------------- */

/* ----------------------------------------------------------
   22. Sky gradient text shimmer
   ---------------------------------------------------------- */
.sky-gradient-text {
  background: linear-gradient(
    90deg,
    var(--sky),
    var(--sky-light),
    #67e8f9,
    var(--sky-light),
    var(--sky)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 4s ease-in-out infinite;
}

/* ----------------------------------------------------------
   23. Utility: .white
   ---------------------------------------------------------- */
.white {
  color: var(--white) !important;
}

.white h1,
.white h2,
.white h3,
.white h4,
.white h5,
.white h6 {
  color: var(--white) !important;
}

.white p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.white .section-badge {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.white .section-subtitle {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* ----------------------------------------------------------
   24. Responsive Breakpoints
   ---------------------------------------------------------- */

/* ----- Tablet landscape & below (<=1024px) ----- */
@media (max-width: 1024px) {
  :root {
    --header-height: 64px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-3d-card {
    max-width: 360px;
    margin: 0 auto;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ----- Tablet portrait & below (<=768px) ----- */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .lang-switcher {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .float-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .sun {
    width: 60px;
    height: 60px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-card {
    padding: 24px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .modal {
    padding: 32px 24px;
  }

  .page-hero {
    padding: 130px 0 60px;
  }
}

/* ----- Mobile (<=480px) ----- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-3d-card {
    max-width: 280px;
  }

  .float-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 20px 12px;
  }

  .stat-number {
    font-size: 28px;
  }

  .keyword-tag {
    padding: 6px 14px;
    font-size: 13px;
  }

  .contact-card {
    padding: 18px 20px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .page-hero {
    padding: 110px 0 48px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 15px;
  }

  .modal {
    padding: 28px 20px;
    margin: 16px;
  }

  .modal-contact-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ----------------------------------------------------------
   Accessibility: Reduced motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cloud,
  .bird,
  .particle {
    animation: none !important;
    display: none;
  }
}

/* ----------------------------------------------------------
   Scrollbar
   ---------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--sky-lighter);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sky-light);
}

/* ----------------------------------------------------------
   Selection
   ---------------------------------------------------------- */
::selection {
  background: rgba(14, 165, 233, 0.2);
  color: var(--sky-dark);
}
