/* ------------------------------
   Base styles & CSS variables
------------------------------ */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-primary: #1e3a8a;
  --color-primary-dark: #111827;
  --color-accent: #f97316;
  --color-accent-dark: #ea580c;
  --color-text: #111827;
  --color-muted: #6b7280;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-card: 12px;
  --radius-button: 8px;
  --transition-base: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Montserrat", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

/* Layout utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

section.bg-alt {
  background-color: var(--color-bg-alt);
}

@media (min-width: 1024px) {
  section {
    padding: 5rem 0;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--color-primary-dark);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  max-width: 640px;
  margin: 0.5rem auto 2.5rem;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ------------------------------
   Header
------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: box-shadow var(--transition-base), background-color var(--transition-base), transform 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text-main {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}

.logo-text-sub {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-muted);
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), #fb923c);
  border-radius: 999px;
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-primary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(148, 163, 184, 0.6);
  margin-left: 1rem;
}

.lang-btn {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--color-muted);
  transition: background-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.lang-btn.active {
  background-color: rgba(249, 115, 22, 0.12);
  color: var(--color-accent);
}

.lang-btn:hover {
  transform: translateY(-1px);
  background-color: rgba(15, 23, 42, 0.06);
}

/* Mobile nav */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.burger:hover {
  background-color: rgba(249, 250, 251, 0.95);
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 1);
}

.burger-lines {
  width: 18px;
  height: 2px;
  background-color: #0f172a;
  position: relative;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background-color: #0f172a;
  border-radius: 999px;
  transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.burger-lines::before {
  top: -6px;
}

.burger-lines::after {
  bottom: -6px;
}

.burger.open .burger-lines {
  background-color: transparent;
}

.burger.open .burger-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.burger.open .burger-lines::after {
  bottom: 0;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 60px 0 auto 0;
    background: rgba(15, 23, 42, 0.97);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    transition: opacity var(--transition-base), transform var(--transition-base);
  }

  .nav.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-link {
    color: #e5e7eb;
    font-size: 1rem;
  }

  .nav-link::after {
    background: linear-gradient(90deg, #f97316, #fde68a);
  }

  .language-switcher {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }

  .burger {
    display: flex;
  }
}

/* ------------------------------
   Hero
------------------------------ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, 
      rgba(15, 23, 42, 0.95) 0%, 
      rgba(30, 64, 175, 0.88) 50%,
      rgba(15, 23, 42, 0.92) 100%);
  z-index: -2;
  animation: gradientShift 15s ease infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mix-blend-mode: overlay;
  z-index: -3;
  animation: heroBgShift 20s ease-in-out infinite alternate;
}

@keyframes heroBgShift {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(1.05) translateX(-2%);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background: 
      radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
      linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 64, 175, 0.88) 50%,
        rgba(15, 23, 42, 0.92) 100%);
  }
  50% {
    background: 
      radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
      radial-gradient(circle at 20% 70%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
      linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 64, 175, 0.88) 50%,
        rgba(15, 23, 42, 0.92) 100%);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: center;
  padding: 5rem 0 5.5rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-badge:hover {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.5);
  transform: translateY(-1px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.4), 0 0 12px rgba(34, 197, 94, 0.6);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.4), 0 0 12px rgba(34, 197, 94, 0.6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.3), 0 0 16px rgba(34, 197, 94, 0.8);
  }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 50%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 36rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
  line-height: 1.7;
  opacity: 0.95;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-tag {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e5e7eb;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-tag:hover {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.hero-secondary-text {
  font-size: 0.85rem;
  color: #cbd5f5;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.8rem;
}

.hero-stat {
  padding: 1rem 1rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-stat:hover {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(148, 163, 184, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.hero-stat-label {
  color: #cbd5f5;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 450px;
  padding: 1.5rem 1.6rem;
  border-radius: 2rem;
  background: 
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 50%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.08), transparent 50%),
    rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 
    0 25px 60px rgba(15, 23, 42, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 40px rgba(59, 130, 246, 0.1);
  transition: all 0.4s ease;
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

.hero-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 30px 80px rgba(15, 23, 42, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 0 60px rgba(59, 130, 246, 0.2);
  border-color: rgba(148, 163, 184, 0.6);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.hero-card-title {
  font-size: 0.9rem;
  color: #e5e7eb;
  font-weight: 500;
}

.hero-card-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.hero-card-main {
  border-radius: 1.1rem;
  overflow: hidden;
  position: relative;
}

.hero-card-main img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transition: transform 0.4s ease;
}

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

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent 55%);
}

.hero-card-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.75rem 0.9rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-card-meta-left {
  max-width: 70%;
}

.hero-card-meta-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
}

.hero-card-meta-sub {
  font-size: 0.7rem;
  color: #9ca3af;
}

.hero-card-meta-pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #bfdbfe;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.hero-card-floating {
  position: absolute;
  right: -8px;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.7rem;
  color: #e5e7eb;
}

.hero-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    padding: 4rem 0 4.5rem;
  }

  .hero-visual {
    margin-top: 2rem;
    order: 2;
  }
  
  .hero-card {
    animation: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------
   Buttons
------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-button);
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #fb923c);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fb923c, var(--color-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-dark), #ea580c);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(234, 88, 12, 0.5);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-outline-light {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.9);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-light:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary-dark);
  border-radius: 999px;
  padding-inline: 0;
}

.btn-ghost span {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
}

.btn-ghost:hover span {
  background: rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 16px;
  height: 16px;
}

/* ------------------------------
   Cards & grids
------------------------------ */
.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-cols-2-sm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .grid-cols-3-lg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  border-color: rgba(59, 130, 246, 0.45);
}

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

.card-image-wrapper {
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  position: relative;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-bottom: 2px dashed rgba(148, 163, 184, 0.3);
}

.placeholder-icon {
  font-size: 3rem;
  color: rgba(30, 64, 175, 0.3);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.placeholder-text {
  font-size: 0.85rem;
  color: rgba(100, 116, 139, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-header {
  padding: 1.5rem 1.5rem 0.75rem;
  margin-bottom: 0;
}

.card-body {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
  padding: 0 1.5rem;
}

.card-footer {
  padding: 0 1.5rem 1.5rem;
  margin-top: auto;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(249, 250, 251, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--color-muted);
}

/* ------------------------------
   About section
------------------------------ */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-intro {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  margin-top: 1rem;
  line-height: 1.6;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-text-block {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.about-text {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.8;
  margin: 0;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.about-feature {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  gap: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-feature-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.about-feature-content {
  flex: 1;
}

.about-feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.about-feature-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin: 0;
}

.about-feature-text strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}

@media (max-width: 900px) {
  .about-header {
    margin-bottom: 2rem;
  }

  .about-intro {
    font-size: 1rem;
  }

  .about-text-block {
    padding: 1.5rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-feature {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
  }

  .about-feature-icon {
    font-size: 2rem;
    margin: 0 auto;
  }
}

/* ------------------------------
   Product overview cards
------------------------------ */
.product-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-bottom: 0.2rem;
}

.product-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.product-link svg {
  width: 14px;
  height: 14px;
}

/* ------------------------------
   Why us
------------------------------ */
.why-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.why-card {
  padding: 1.4rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}

.why-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.why-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.why-text {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ------------------------------
   CTA section
------------------------------ */
.cta {
  text-align: center;
}

.cta-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%), radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.2), transparent 55%), linear-gradient(135deg, #0f172a, #020617);
  color: #e5e7eb;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.9);
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-text {
  font-size: 0.95rem;
  color: #d1d5db;
  margin-bottom: 1.7rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .cta-card {
    padding: 2.75rem 3rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }
}

/* ------------------------------
   Products page
------------------------------ */
.sub-hero {
  padding: 4rem 0 2.5rem;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #e5e7eb;
}

.sub-hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .sub-hero-title {
    font-size: 2.25rem;
  }
}

.sub-hero-subtitle {
  max-width: 540px;
  font-size: 0.95rem;
  color: #cbd5f5;
}

.product-section {
  padding: 3rem 0 0;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  margin-bottom: 2rem;
}

.product-layout > div:first-child {
  display: flex;
  flex-direction: column;
}

.product-layout aside {
  position: sticky;
  top: 100px;
}

.product-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.product-text {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.product-block-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  color: var(--color-primary-dark);
}

.product-list {
  padding-left: 1.1rem;
  margin: 0.25rem 0;
  list-style: disc;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.product-meta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.product-image-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
  height: 500px;
  display: flex;
  flex-direction: column;
}

.product-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.product-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex: 1;
}

.product-image-caption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  background-color: #f9fafb;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .product-layout aside {
    position: static;
  }
  
  .product-image-card {
    height: 300px;
  }
}

/* ------------------------------
   Contact page
------------------------------ */
.contact-wrapper {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-wrapper {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }
}

.contact-card {
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.contact-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-text {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.contact-label {
  font-weight: 500;
  color: var(--color-primary-dark);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-dark);
}

.form-input,
.form-textarea {
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
  background-color: #ffffff;
}

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

.form-note {
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* ------------------------------
   Footer
------------------------------ */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  background-color: #020617;
  color: #e5e7eb;
}

.footer-top {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1.4fr 1.2fr;
  }
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
}

.footer-text {
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-nav {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.footer-nav a {
  color: #e5e7eb;
}

.footer-nav a:hover {
  color: #f97316;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(55, 65, 81, 1);
  font-size: 0.8rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ------------------------------
   Floating action buttons
------------------------------ */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
  transition: transform var(--transition-base), box-shadow var(--transition-base), opacity 0.2s ease;
  opacity: 0.97;
}

.fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.6);
  opacity: 1;
}

.fab svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.fab-wa {
  background-color: #22c55e;
}

.fab-tg {
  background-color: #0ea5e9;
}

@media (max-width: 640px) {
  .floating-buttons {
    right: 14px;
    bottom: 14px;
  }

  .fab {
    width: 46px;
    height: 46px;
  }
}

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background-color: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
  z-index: 998;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: #020617;
}

/* ------------------------------
   Reveal animations
------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Slide from left */
.reveal.slide-left {
  transform: translateX(-50px);
}

.reveal.slide-left.visible {
  transform: translateX(0);
}

/* Slide from right */
.reveal.slide-right {
  transform: translateX(50px);
}

.reveal.slide-right.visible {
  transform: translateX(0);
}

/* Slide up (default, but more pronounced) */
.reveal.slide-up {
  transform: translateY(50px);
}

.reveal.slide-up.visible {
  transform: translateY(0);
}

/* Fade in only */
.reveal.fade-in {
  transform: none;
}

.reveal.fade-in.visible {
  transform: none;
}

/* Scale + fade */
.reveal.scale-in {
  transform: scale(0.9);
}

.reveal.scale-in.visible {
  transform: scale(1);
}

/* Delay classes */
.reveal.delay-1 {
  transition-delay: 0.15s;
}

.reveal.delay-2 {
  transition-delay: 0.3s;
}

.reveal.delay-3 {
  transition-delay: 0.45s;
}

.reveal.delay-4 {
  transition-delay: 0.6s;
}

.reveal.delay-5 {
  transition-delay: 0.75s;
}

/* Staggered delays for child elements */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger > *.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.7s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.8s; }

/* ------------------------------
   Misc
------------------------------ */
.breadcrumbs {
  font-size: 0.8rem;
  color: #cbd5f5;
  margin-bottom: 0.7rem;
}

.breadcrumbs a {
  color: #e5e7eb;
}

.breadcrumbs span {
  opacity: 0.7;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--color-accent);
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.muted {
  color: var(--color-muted);
  font-size: 0.88rem;
}

/* ------------------------------
   Product cards responsive
------------------------------ */
@media (max-width: 640px) {
  .card-image-wrapper {
    height: 180px;
  }

  .card-header {
    padding: 1.25rem 1.25rem 0.75rem;
  }

  .card-body {
    padding: 0 1.25rem;
    font-size: 0.85rem;
  }

  .card-footer {
    padding: 0 1.25rem 1.25rem;
  }

  .card-title {
    font-size: 1rem;
  }
}

/* ------------------------------
   Clients Section
------------------------------ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.client-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  border-left: 4px solid var(--color-accent);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.client-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-left-color: var(--color-accent-dark);
}

.client-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(249, 115, 22, 0.1);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.client-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.client-name-en {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.client-location {
  font-size: 0.875rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.client-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.clients-trust {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 100%);
  border-radius: 16px;
  text-align: center;
}

.trust-text {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.trust-text strong {
  font-size: 1.25rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .client-card {
    padding: 1.5rem 1.25rem;
  }

  .client-number {
    font-size: 2.25rem;
    top: 0.75rem;
    right: 0.75rem;
  }

  .client-name {
    font-size: 1rem;
    padding-right: 3rem;
  }

  .client-name-en {
    font-size: 0.8rem;
  }

  .clients-trust {
    margin-top: 2rem;
    padding: 1.5rem;
  }

  .trust-text {
    font-size: 0.875rem;
  }

  .trust-text strong {
    font-size: 1.125rem;
  }
}

/* ------------------------------
   Technical Specifications
------------------------------ */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0 0 0;
}

.spec-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-left: 4px solid var(--color-accent);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.spec-item:nth-child(1) {
  animation-delay: 0.1s;
}

.spec-item:nth-child(2) {
  animation-delay: 0.2s;
}

.spec-item:nth-child(3) {
  animation-delay: 0.3s;
}

.spec-item:nth-child(4) {
  animation-delay: 0.4s;
}

.spec-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15);
  border-left-color: var(--color-accent-dark);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spec-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.spec-content h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0 0 0.25rem 0;
}

.spec-content p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
  font-weight: 500;
}

/* ------------------------------
   FIBC Types Grid
------------------------------ */
.fibc-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.fibc-type-card {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.fibc-type-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
  transform: translateY(-4px);
}

.fibc-type-badge {
  display: inline-block;
  background: #3b82f6;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.fibc-type-badge.popular {
  background: var(--color-accent);
}

.fibc-type-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 0.75rem 0;
}

.fibc-type-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.fibc-type-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fibc-type-features li {
  font-size: 0.8125rem;
  color: #374151;
  padding: 0.375rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.fibc-type-features li:last-child {
  border-bottom: none;
}

/* ------------------------------
   Advantages Grid
------------------------------ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.advantage-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.advantage-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.advantage-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0 0 0.25rem 0;
}

.advantage-item p {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

/* ------------------------------
   Product CTA Box
------------------------------ */
.product-cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 100%);
  padding: 2rem;
  border-radius: 16px;
  margin-top: 2rem;
  text-align: center;
}

.product-cta-box .product-meta {
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.product-cta-box .product-meta strong {
  color: #ffffff;
}

.product-cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.product-cta-buttons .btn {
  min-width: 200px;
}

.product-info-box {
  background: #f9fafb;
  padding: 1.25rem;
  border-radius: 12px;
  margin-top: 1.25rem;
  border-left: 4px solid var(--color-accent);
}

.product-info-box h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0 0 0.75rem 0;
}

.product-info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-info-box ul li {
  font-size: 0.875rem;
  color: #374151;
  padding: 0.375rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.product-info-box ul li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

@media (max-width: 768px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .fibc-types-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .product-cta-buttons {
    flex-direction: column;
  }

  .product-cta-buttons .btn {
    width: 100%;
    min-width: auto;
  }
}

/* ------------------------------
   Products Gallery
------------------------------ */
.products-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.2);
}

/* Shine effect on hover */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
  z-index: 1;
  pointer-events: none;
}

.product-card:hover::before {
  left: 100%;
}

/* Product Image */
.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

/* Overlay Effect */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 58, 138, 0) 0%,
    rgba(30, 58, 138, 0.9) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

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

.product-view-btn {
  background: var(--color-accent);
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  transform: translateY(20px);
  transition: transform 0.4s ease, background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.product-card:hover .product-view-btn {
  transform: translateY(0);
}

.product-view-btn:hover {
  background: var(--color-accent-dark);
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: #ffffff;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
  animation: pulse 2s infinite;
  z-index: 3;
}

.product-badge.new {
  background: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Product Content */
.product-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 0.75rem 0;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.product-card:hover .product-card-title {
  color: var(--color-accent);
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0 0 1rem 0;
  flex: 1;
}

/* Mini Specs Tags */
.product-specs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec-tag {
  display: inline-block;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.product-card:hover .spec-tag {
  background: #fef3c7;
  color: #92400e;
}

/* Products CTA */
.products-cta {
  text-align: center;
  margin-top: 3rem;
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .products-gallery {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .product-image-wrapper {
    height: 240px;
  }

  .product-card-content {
    padding: 1.25rem;
  }

  .product-card-title {
    font-size: 1.125rem;
  }

  .product-card-desc {
    font-size: 0.8125rem;
    min-height: auto;
  }

  /* Mobile: всегда показывать кнопку */
  .product-overlay {
    opacity: 1;
    background: linear-gradient(
      180deg,
      rgba(30, 58, 138, 0) 0%,
      rgba(30, 58, 138, 0.85) 100%
    );
  }

  .product-view-btn {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .product-image-wrapper {
    height: 200px;
  }
}

@media print {
  .product-overlay {
    display: none;
  }

  .product-card {
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }
}
