/* ============================================
   ISLEPATH · Home Page
   ============================================ */

/* ----- Hero ----- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #a5b4fc;
  margin-bottom: 24px;
}
.hero-tag .pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero .lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 480px) { .hero-stats { grid-template-columns: 1fr; gap: 16px; } }
.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.hero-stat .label {
  font-size: 12.5px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Hero visual — animated product showcase */
.hero-visual {
  position: relative;
  height: 480px;
  border-radius: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.2), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.18), transparent 50%);
  z-index: 0;
}
.hero-orbit {
  position: relative;
  width: 360px;
  height: 360px;
  z-index: 1;
}
.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 40px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: spin 30s linear infinite reverse;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--gradient);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(99, 102, 241, 0.4);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(0); }
  50% { transform: translate(-50%, -55%) rotate(8deg); }
}
.hero-orbit-item {
  position: absolute;
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
.hero-orbit-item:nth-child(1) { top: 0;   left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.hero-orbit-item:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 0.8s; }
.hero-orbit-item:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1.6s; }
.hero-orbit-item:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 2.4s; }
.hero-orbit-item:nth-child(5) { top: 12%; right: 12%; animation-delay: 1.2s; }
.hero-orbit-item:nth-child(6) { bottom: 12%; left: 12%; animation-delay: 0.4s; }

/* ----- Trust Strip ----- */
.trust {
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) { .trust-grid { grid-template-columns: 1fr; gap: 24px; } }
.trust-label {
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
}
.trust-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ----- Product Grid ----- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.product-grid.product-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 720px) {
  .product-grid,
  .product-grid.product-grid-2 { grid-template-columns: 1fr; }
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(99, 102, 241, 0.25);
}
.product-card:hover::before { opacity: 1; }
.product-card > * { position: relative; z-index: 2; }

/* Thumb with gradient + grid bg + animated icon */
.product-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(6, 182, 212, 0.15) 100%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 88px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.product-thumb::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 14px;
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 14px;
  opacity: 0.9;
  filter: blur(0);
  z-index: 0;
}
.product-card:hover .product-thumb { transform: scale(1.05); }
.product-card .thumb-code {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  z-index: 3;
  letter-spacing: 0.05em;
}

.product-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .cat {
  font-size: 11px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.product-card .cat::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--brand);
}
.product-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  font-weight: 700;
  line-height: 1.25;
}
.product-card .tag {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.55;
  flex: 1;
}
.product-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-mute);
  gap: 12px;
}
.product-card .price-block {
  display: flex;
  flex-direction: column;
}
.product-card .price-block .label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.product-card .price-block .price {
  font-family: var(--font-mono);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.product-card .moq-block {
  text-align: right;
  display: flex;
  flex-direction: column;
}
.product-card .moq-block .label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.product-card .moq-block .moq {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}
.product-card .arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 14px;
  transition: all 0.3s;
  z-index: 3;
}
.product-card:hover .arrow {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  transform: translate(2px, -2px);
}

/* ----- Why Us ----- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.why-card:hover { transform: translateY(-2px); border-color: var(--line); }
.why-card .icon-box {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14px; }

/* ----- OEM CTA ----- */
.oem-cta {
  position: relative;
  background: var(--gradient);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}
.oem-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.15), transparent 50%);
}
.oem-cta > * { position: relative; z-index: 1; }
.oem-cta h2 { color: white; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.oem-cta p { color: rgba(255, 255, 255, 0.92); font-size: 17px; max-width: 600px; margin: 0 auto 28px; }
.oem-cta .btn { background: white; color: var(--brand); }
.oem-cta .btn:hover { background: rgba(255, 255, 255, 0.92); color: var(--brand); transform: translateY(-1px); }
.oem-cta .btn-ghost { background: rgba(255, 255, 255, 0.12); color: white; border-color: rgba(255, 255, 255, 0.25); }
.oem-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.2); color: white; }

/* ----- Industries ----- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.industry-chip {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s;
  cursor: default;
}
.industry-chip:hover { border-color: var(--brand); background: var(--bg-soft); }
.industry-chip .emoji { font-size: 32px; display: block; margin-bottom: 8px; }
.industry-chip .name { display: block; }
