/* ===== HOME PAGE STYLES ===== */

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 3rem 3rem;
  position: relative;
  overflow: hidden;
  gap: 3rem;
}

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

.hero-grid {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,255,180,0.12), transparent 70%);
  top: -100px;
  right: 100px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,200,255,0.08), transparent 70%);
  bottom: 0;
  left: 200px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(0,255,180,0.2);
  border-radius: 4px;
  animation: fadeSlide 0.8s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}

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

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  animation: fadeSlide 0.8s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeSlide 0.8s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeSlide 0.8s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HEX CLUSTER */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlide 1s cubic-bezier(0.22,1,0.36,1) 0.5s both;
}

.hex-cluster {
  position: relative;
  width: 420px;
  height: 420px;
}

.hex {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: transform 0.3s, filter 0.3s;
  cursor: default;
}

.hex:hover { transform: scale(1.08) !important; filter: brightness(1.3); }

.hex span {
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.h1 { width: 130px; height: 130px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: linear-gradient(135deg, rgba(0,255,180,0.2), rgba(0,255,180,0.05)); border: 1px solid rgba(0,255,180,0.3); color: var(--accent); animation: floatHex 6s ease-in-out infinite; }
.h2 { width: 110px; height: 110px; top: 10%; left: 30%; background: rgba(0,200,255,0.08); border: 1px solid rgba(0,200,255,0.2); color: var(--accent2); animation: floatHex 7s ease-in-out infinite 0.5s; }
.h3 { width: 100px; height: 100px; top: 10%; right: 25%; background: rgba(123,94,167,0.1); border: 1px solid rgba(123,94,167,0.25); color: #a78bfa; animation: floatHex 5s ease-in-out infinite 1s; }
.h4 { width: 115px; height: 115px; bottom: 12%; left: 15%; background: rgba(0,200,255,0.08); border: 1px solid rgba(0,200,255,0.2); color: var(--accent2); animation: floatHex 8s ease-in-out infinite 0.2s; }
.h5 { width: 105px; height: 105px; bottom: 15%; right: 20%; background: rgba(0,255,180,0.06); border: 1px solid rgba(0,255,180,0.2); color: var(--accent); animation: floatHex 6.5s ease-in-out infinite 1.5s; }
.h6 { width: 95px; height: 95px; top: 42%; right: 5%; background: rgba(123,94,167,0.08); border: 1px solid rgba(123,94,167,0.2); color: #a78bfa; animation: floatHex 7.5s ease-in-out infinite 0.8s; }

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

.h1 { animation: floatHexCenter 4s ease-in-out infinite; }
@keyframes floatHexCenter {
  0%, 100% { transform: translate(-50%,-50%) rotate(0deg); }
  50% { transform: translate(-50%,-55%) rotate(5deg); }
}

/* SCROLL HINT */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
  animation: fadeSlide 1s 1s both;
}

.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* MARQUEE */
.marquee-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-inner span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee-inner .sep { color: var(--accent); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* STATS */
.stats-section {
  padding: 6rem 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,255,180,0.03), transparent);
  pointer-events: none;
}

.stat-item:hover { border-color: rgba(0,255,180,0.3); transform: translateY(-4px); }

.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: inline;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-item p {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* SERVICES PREVIEW */
.services-preview {
  padding: 6rem 0;
  background: var(--bg2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  transition-delay: calc(var(--i) * 0.1s);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: rgba(0,255,180,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.service-card:hover::after { opacity: 1; }

.card-icon {
  width: 52px;
  height: 52px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.card-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.card-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  transition: gap 0.2s;
}

.card-link:hover { opacity: 0.75; }

.card-num {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ABOUT STRIP */
.about-strip {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.about-strip::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, rgba(0,255,180,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.about-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text { max-width: 500px; }
.about-text h2 { margin: 0.5rem 0 1.25rem; }
.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.about-shapes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.shape-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  transition: transform 0.3s, border-color 0.3s;
}

.shape-card:hover { transform: translateY(-4px); border-color: rgba(0,255,180,0.3); }

.sc1 { border-radius: 20px 4px 20px 4px; }
.sc2 { border-radius: 4px 20px 4px 20px; margin-top: 2rem; }
.sc3 { border-radius: 50% 20px 20px 20px; grid-column: 1/-1; width: 50%; }

.shape-card .mono {
  font-size: 1.8rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.shape-card p {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* FEATURED WORK */
.featured-work {
  padding: 8rem 0;
  background: var(--bg2);
}

.works-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}

.work-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.25s;
  background: var(--surface);
}

.work-item:last-child { border-bottom: none; }

.work-item:hover { background: var(--surface2); }

.work-item:hover .work-arrow {
  transform: translateX(6px);
  color: var(--accent);
}

.work-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 120px;
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  background: rgba(0,255,180,0.08);
  border-radius: 3px;
  border: 1px solid rgba(0,255,180,0.15);
  display: inline-block;
}

.work-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.work-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 380px;
  line-height: 1.5;
}

.work-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.work-tech span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
}

.work-arrow {
  font-size: 1.3rem;
  color: var(--text-dim);
  transition: transform 0.2s, color 0.2s;
  min-width: 30px;
  text-align: right;
}

.works-cta { text-align: center; }

/* TECH SECTION */
.tech-section {
  padding: 7rem 0;
  background: var(--bg);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.tech-pill {
  padding: 0.6rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.25s;
  transition-delay: calc(var(--i, 0) * 0.04s);
}

.tech-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,255,180,0.06);
  transform: translateY(-2px);
}

/* CTA SECTION */
.cta-section {
  padding: 8rem 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg svg {
  width: 100%;
  height: 100%;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: calc(var(--nav-h) + 4rem); }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-strip-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .hero { padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .work-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .work-desc, .work-tech { display: none; }
  .work-arrow { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); }
}

@media (max-width: 500px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 2.5rem; }
}
