/* Modern Reset & Base Custom Properties */
:root {
  --bg-main: #09090b;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.2);
  
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.4);
  --primary-hover: #818cf8;
  
  --text-main: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dark: #71717a;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Elegant Ambient Glow Backgrounds */
.glow-bg {
  position: absolute;
  top: -10%;
  left: 10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

/* Two-column Container */
.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6rem;
  position: relative;
  z-index: 1;
}

/* Left Column Styling */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f4f4f5 30%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #d4d4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 3rem;
}

/* Action Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

/* Right Column Styling */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* Feature List */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.feature-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-focus);
  transform: translateX(4px);
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.feature-details h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.feature-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Pricing Card */
.pricing-card {
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.pricing-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  background: rgba(79, 70, 229, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.pricing-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.price-wrapper {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-heading);
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 0.25rem;
  color: var(--text-muted);
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.check-icon {
  color: #10b981;
  flex-shrink: 0;
}

/* Footer Section */
.footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text-main);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-dark);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-container {
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  body {
    align-items: flex-start;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 3rem 1.5rem;
  }
  
  .brand-header {
    margin-bottom: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .hero-description {
    margin-bottom: 2rem;
  }
}

/* App Preview Showcase */
.app-preview-container {
  margin-top: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.25rem;
  backdrop-filter: blur(16px);
  position: relative;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.preview-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  background: rgba(79, 70, 229, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.preview-tabs {
  display: flex;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.preview-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preview-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.preview-tab.active {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.preview-viewport {
  position: relative;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.5) 0%, rgba(9, 9, 11, 0.8) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.preview-slide {
  display: none;
  width: 100%;
  flex-direction: column;
  align-items: center;
  animation: previewFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-slide.active {
  display: flex;
}

@keyframes previewFade {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.preview-img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
  padding: 0.75rem;
}

.preview-caption {
  width: 100%;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.preview-caption strong {
  color: var(--text-main);
}

.preview-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.thumb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumb-btn img {
  width: 100%;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.thumb-btn span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.thumb-btn:hover {
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.04);
}

.thumb-btn:hover img {
  opacity: 0.9;
}

.thumb-btn:hover span {
  color: var(--text-main);
}

.thumb-btn.active {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.12);
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.25);
}

.thumb-btn.active img {
  opacity: 1;
}

.thumb-btn.active span {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 500px) {
  .preview-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }
  .preview-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .preview-tab {
    flex: 1;
    justify-content: center;
    font-size: 0.72rem;
    padding: 0.35rem 0.35rem;
  }
}
