/* ========= RESET & BASE ========= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background: #07080d;
  color: #e4e6ef;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ========= AMBIENT BACKGROUND ========= */
.ambient-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.18;
  animation: blobFloat 20s ease-in-out infinite alternate;
}
.blob-1 { width: 600px; height: 600px; background: #6366f1; top: -10%; left: -10%; }
.blob-2 { width: 500px; height: 500px; background: #06b6d4; bottom: 10%; right: -8%; animation-delay: -7s; }
.blob-3 { width: 400px; height: 400px; background: #a855f7; top: 50%; left: 40%; animation-delay: -14s; }
@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-20px, 50px) scale(0.95); }
  100% { transform: translate(30px, 20px) scale(1.05); }
}

/* ========= HERO ========= */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 2rem;
}
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25);
  border-radius: 100px; padding: 8px 20px;
  font-size: 0.85rem; font-weight: 500; color: #a5b4fc;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em;
  animation: fadeUp 0.8s 0.15s ease both;
}
.title-line { display: block; }
.gradient-text {
  background: linear-gradient(135deg, #818cf8, #06b6d4, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  margin-top: 1.5rem; font-size: 1.1rem; line-height: 1.7;
  color: #9ca3af; max-width: 560px; margin-inline: auto;
  font-weight: 300;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 2.5rem; padding: 14px 32px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 100px; font-weight: 600; font-size: 1rem;
  color: #fff; transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(99,102,241,0.3);
  animation: fadeUp 0.8s 0.45s ease both;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,102,241,0.45); }
.hero-cta svg { animation: bounce 2s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  margin-top: 4rem; animation: fadeUp 0.8s 0.6s ease both;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-number { font-size: 1.6rem; font-weight: 700; color: #fff; }
.stat-label { font-size: 0.78rem; color: #6b7280; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

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

/* ========= GALLERY SECTION ========= */
.gallery-section {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 2rem 2rem 6rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  letter-spacing: -0.02em;
}
.section-desc { color: #6b7280; margin-top: 0.5rem; font-size: 1rem; font-weight: 300; }

/* Filters */
.filters {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap; margin-top: 1.5rem;
}
.filter-btn {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: #9ca3af; padding: 8px 20px; border-radius: 100px;
  font-family: inherit; font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover { background: rgba(255,255,255,0.1); color: #e4e6ef; }
.filter-btn.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: transparent; color: #fff;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

/* ========= CARD ========= */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.4s, border-color 0.4s;
  opacity: 0; transform: translateY(30px);
  cursor: pointer;
}
.card.visible { opacity: 1; transform: translateY(0); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.25);
}

.card-image {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
}
.card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.card:hover .card-image img { transform: scale(1.08); }

.card-overlay {
  position: absolute; inset: 0;
  background: rgba(7,8,13,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s;
}
.card:hover .card-overlay { opacity: 1; }
.view-360 {
  display: flex; align-items: center; gap: 10px;
  background: rgba(99,102,241,0.85);
  backdrop-filter: blur(8px);
  padding: 12px 24px; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem; color: #fff;
  transform: translateY(8px); transition: transform 0.35s;
}
.card:hover .view-360 { transform: translateY(0); }
.view-360 svg { animation: spin360 4s linear infinite; }
@keyframes spin360 { to { transform: rotate(360deg); } }

.card-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(7,8,13,0.7); backdrop-filter: blur(8px);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 500; color: #d1d5db;
  border: 1px solid rgba(255,255,255,0.08);
}

.card-body { padding: 1.2rem 1.4rem 1.4rem; }
.card-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; color: #f3f4f6; }
.card-desc { font-size: 0.88rem; color: #6b7280; line-height: 1.55; font-weight: 300; }

/* ========= FOOTER ========= */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2rem 2rem; text-align: center;
}
.footer-content { max-width: 680px; margin: 0 auto; }
.footer-copyright {
  display: flex; align-items: flex-start; gap: 1rem;
  text-align: left;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 1.5rem;
}
.copyright-icon { color: #818cf8; flex-shrink: 0; margin-top: 2px; }
.copyright-name {
  font-size: 0.95rem; font-weight: 600; color: #e4e6ef;
  margin-bottom: 0.6rem;
}
.copyright-notice, .copyright-license {
  font-size: 0.78rem; color: #6b7280; line-height: 1.6; font-weight: 300;
}
.copyright-notice { margin-bottom: 0.4rem; }
.copyright-notice strong { color: #a5b4fc; font-weight: 500; }
.footer-divider {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 1.5rem auto;
}
.footer-text { font-size: 0.85rem; color: #4b5563; }
.footer-text a { color: #818cf8; transition: color 0.2s; }
.footer-text a:hover { color: #a5b4fc; }

/* ========= RESPONSIVE ========= */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
  .hero { padding: 2rem 1.2rem; }
  .gallery-section { padding: 1.5rem 1rem 4rem; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .filters { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 0.8rem; }
}
