/* CSS Variables & Design System */
:root {
  --bg-primary: #070913;
  --bg-secondary: #0d0f22;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-gold: #c2956c;
  --accent-gold-dark: #8c603a;
  --accent-orange: #ff5722;
  --accent-orange-dark: #c83200;
  
  --card-bg: rgba(255, 255, 255, 0.02);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-border-hover: rgba(255, 255, 255, 0.15);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Ambient Background Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.18;
}

.glow-1 {
  top: -10%;
  right: -5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.glow-2 {
  top: 40%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-gold-dark) 0%, transparent 70%);
}

.glow-3 {
  bottom: 0%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--accent-orange-dark) 0%, transparent 70%);
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(7, 9, 19, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 100;
  transition: var(--transition-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-text {
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-sub {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

.btn-kyulebag {
  background: linear-gradient(135deg, var(--accent-gold-dark) 0%, var(--accent-gold) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(194, 149, 108, 0.25);
}

.btn-kyulebag:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(194, 149, 108, 0.45);
}

.btn-trackerbuttons {
  background: linear-gradient(135deg, var(--accent-orange-dark) 0%, var(--accent-orange) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.25);
}

.btn-trackerbuttons:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 87, 34, 0.45);
}

/* Hero Section */
.hero-section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.accent-glow {
  position: relative;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

/* Products Section */
.products-section {
  padding: 80px 0;
  position: relative;
}

.product-row {
  display: flex;
  align-items: center;
  gap: 5rem;
  margin-bottom: 6rem;
}

.product-row.row-reverse {
  flex-direction: row-reverse;
}

.product-image-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.product-info-container {
  flex: 1.2;
}

/* Logo Card Style */
.logo-click-wrapper {
  text-decoration: none;
  display: inline-block;
  width: 100%;
  max-width: 320px;
  perspective: 1000px;
}

.logo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 36px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transition: var(--transition-normal);
  transform-style: preserve-3d;
}

.logo-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 36px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.product-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20px;
  transition: var(--transition-normal);
  z-index: 2;
}

/* Card Glow Themes */
.kyulebag-theme:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(194, 149, 108, 0.4);
  box-shadow: 0 25px 50px rgba(194, 149, 108, 0.18), 0 0 30px rgba(194, 149, 108, 0.1);
}

.trackerbuttons-theme:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255, 87, 34, 0.4);
  box-shadow: 0 25px 50px rgba(255, 87, 34, 0.18), 0 0 30px rgba(255, 87, 34, 0.1);
}

.logo-card:hover .product-logo {
  transform: translateZ(20px);
}

/* Domain Links */
.product-domain-link {
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.product-domain-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.product-domain-link .arrow {
  transition: var(--transition-fast);
}

.product-domain-link:hover .arrow {
  transform: translateX(4px);
}

/* Product Badges */
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.product-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-android {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
}

.badge-ios {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #60a5fa;
}

.badge-watch {
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.25);
  color: #f472b6;
}

.product-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Features List */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.features-list li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.features-list li strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.features-list li p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Divider */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06) 50%, transparent);
  margin: 5rem 0;
}

/* Footer Section */
.main-footer {
  background: #04050a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-kewl {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-code {
  color: #ffffff;
  opacity: 0.7;
}

/* Responsive Styling */
@media (max-width: 1024px) {
  .product-row {
    gap: 3rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .main-header {
    height: 70px;
  }
  
  .hero-section {
    padding-top: 130px;
    padding-bottom: 60px;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
    gap: 0.8rem;
  }
  
  .product-row, .product-row.row-reverse {
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
  }
  
  .product-image-container {
    width: 100%;
  }
  
  .logo-click-wrapper {
    max-width: 260px;
  }
  
  .logo-card {
    border-radius: 28px;
    padding: 2.5rem;
  }
  
  .product-info-container {
    width: 100%;
  }
  
  .product-title {
    font-size: 2rem;
  }
  
  .section-divider {
    margin: 3rem 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
