/* Reset & Core variables */
:root {
  --bg-color: #050508;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --accent-teal: #14b8a6;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
}

/* Background gradient blobs */
.bg-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 100%);
  filter: blur(80px);
}

.glow-2 {
  position: absolute;
  top: 40%;
  left: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(20, 184, 166, 0.05) 50%, transparent 100%);
  filter: blur(100px);
}

.glow-3 {
  position: absolute;
  bottom: 0%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(236, 72, 153, 0.03) 50%, transparent 100%);
  filter: blur(80px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.btn-nav {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 100%);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.25);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

/* Hero Section */
.hero {
  padding: 10rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Product Hunt Teaser Badge */
.ph-teaser-badge {
  display: inline-block;
  text-decoration: none;
  background: rgba(218, 85, 47, 0.12);
  border: 1px solid rgba(218, 85, 47, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(218, 85, 47, 0.1);
}

.ph-teaser-badge:hover {
  background: rgba(218, 85, 47, 0.2);
  border-color: rgba(218, 85, 47, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(218, 85, 47, 0.3);
}

.ph-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ph-logo-p {
  background: #da552f;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1;
}

.ph-arrow {
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.ph-teaser-badge:hover .ph-arrow {
  transform: translateX(4px);
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 850;
  letter-spacing: -2px;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 10%, #e2e8f0 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 800px;
}

.hero p.tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary {
  background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  color: #fff;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 15px var(--glass-shadow);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-top: 3rem;
  border-radius: 16px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.02) 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(20, 184, 166, 0.1);
}

.hero-mockup img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Features grid */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.features {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px var(--glass-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(20, 184, 166, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 1px solid rgba(20, 184, 166, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Showcase tab section */
.showcase {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 50px var(--glass-shadow);
  align-items: center;
}

.showcase-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-item {
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  text-align: left;
  background: transparent;
}

.showcase-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.showcase-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.showcase-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.showcase-item.active h4 {
  color: var(--accent-teal);
}

.showcase-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.showcase-display {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  aspect-ratio: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.showcase-img.active {
  opacity: 1;
  z-index: 2;
}

/* Call to action */
.cta-banner {
  padding: 8rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cta-banner-content {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 30px;
  padding: 4rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-banner h2 {
  font-size: 2.75rem;
  font-weight: 850;
  letter-spacing: -1px;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  line-height: 1.6;
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  background: #020204;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-logo img {
  width: 24px;
  height: 24px;
}

/* Responsive adjustments */
@media (max-width: 968px) {
  .hero h1 {
    font-size: 3rem;
  }
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  .showcase-display {
    order: -1;
  }
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
