:root {
  --bg: #07080b;
  --bg-card: #11131a;
  --bg-card-hover: #171a24;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.25);
  --text: #ffffff;
  --text-dim: #9aa1b1;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(59, 130, 246, 0.18), transparent),
    radial-gradient(ellipse 40% 40% at 85% 60%, rgba(139, 92, 246, 0.12), transparent);
  background-attachment: fixed;
  animation: ambientBg 12s ease-in-out infinite alternate;
}

@keyframes ambientBg {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pad-section { padding: 100px 0; }
.text-center { text-align: center; }

/* ANIMATION UTILITIES */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* NAVBAR OPTIMIZED */
header {
  position: fixed;
  top: 16px; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center;
  padding: 0 16px;
  animation: fadeInDown 0.8s ease-out;
}

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

.nav-container {
  background: rgba(17, 19, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 100px;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1180px;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: var(--transition);
}

.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem;
  white-space: nowrap; flex-shrink: 0;
}
.logo-badge {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white; font-size: 0.7rem; font-weight: 800;
  padding: 3px 7px; border-radius: 6px;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
  animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 8px rgba(59, 130, 246, 0.4); }
  100% { box-shadow: 0 0 18px rgba(139, 92, 246, 0.8); }
}

nav { display: flex; align-items: center; }
nav ul {
  display: flex; gap: 4px;
  list-style: none;
  flex-wrap: nowrap;
  align-items: center;
}
nav li { display: inline-block; white-space: nowrap; }
nav a {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-block;
  position: relative;
}
nav a:hover, nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* BUTTONS */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white; border: none; padding: 14px 28px;
  border-radius: 100px; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  display: inline-block; transition: var(--transition);
  position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.45);
}

.btn-primary-sm {
  background: white; color: black;
  padding: 7px 18px;
  border-radius: 100px; font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}
.btn-primary-sm:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255,255,255,0.05); color: white; border: 1px solid var(--border);
  padding: 14px 28px; border-radius: 100px; font-weight: 600; font-size: 0.95rem; transition: var(--transition);
  display: inline-block;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

/* HERO & GRADIENTS */
.hero { padding: 170px 0 90px; text-align: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-tag .dot {
  width: 8px; height: 8px; background: #10b981; border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 24px; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradientShift 6s ease infinite alternate;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero-lead { font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--text-dim); max-width: 720px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* BENTO & CARDS */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.bento-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; transition: var(--transition);
  position: relative; overflow: hidden;
}
.bento-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(139, 92, 246, 0.15);
}
.bento-card img {
  width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 20px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover img { transform: scale(1.04); }

.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }

/* PRODUCT & FEATURE CARDS */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.product-img {
  width: 100%; height: 280px; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img { transform: scale(1.05); }
.product-info { padding: 20px; }
.product-price { font-weight: 700; color: var(--accent-blue); margin-top: 8px; font-size: 1.1rem; }

/* GALLERY CARDS */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.gallery-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.gallery-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}
.gallery-card img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover img { transform: scale(1.05); }
.gallery-content { padding: 24px; }

/* CTA BOX */
.cta-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.3); border-radius: var(--radius-xl); padding: 60px 32px;
  position: relative; overflow: hidden;
}
.cta-form { display: flex; gap: 12px; max-width: 480px; margin: 24px auto 0; }
.cta-form input, .cta-form textarea {
  width: 100%; padding: 14px 20px; border-radius: 100px; background: rgba(0,0,0,0.5);
  border: 1px solid var(--border); color: white; font-family: inherit; font-size: 0.95rem;
  transition: var(--transition);
}
.cta-form textarea { border-radius: var(--radius-md); resize: vertical; min-height: 120px; }
.cta-form input:focus, .cta-form textarea:focus {
  outline: none; border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 80px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-inner p { color: var(--text-dim); font-size: 0.9rem; }
.social-links { display: flex; gap: 20px; }
.social-links a { color: var(--text-dim); font-size: 0.9rem; transition: var(--transition); }
.social-links a:hover { color: white; transform: translateY(-2px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav a { font-size: 0.75rem; padding: 5px 8px; }
}
@media (max-width: 868px) {
  .col-4, .col-5, .col-6, .col-7 { grid-column: span 12; }
  nav ul { display: none; }
}
