/* ================================
   Product Pages Shared Styles
   ================================ */

/* Product Hero Section */
.product-hero {
  padding: 8rem 0 4rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.product-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.product-hero-text {
  max-width: 600px;
}

.product-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.product-hero-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.product-hero-badge span {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.product-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.product-hero p {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.product-hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-hero-image {
  position: relative;
}

.product-splash-img {
  width: 100%;
  max-width: 600px;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Problem Section */
.product-problem {
  background: rgba(0, 0, 0, 0.2);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.problem-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.problem-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: var(--text-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Strategic Callout */
.strategic-callout {
  margin-top: 3rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.strategic-callout::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 8rem;
  font-family: Georgia, serif;
  color: rgba(139, 92, 246, 0.15);
  line-height: 1;
}

.strategic-callout-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.strategic-callout h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.strategic-callout p {
  color: var(--text-gray-light);
  font-size: 1.0625rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .strategic-callout {
    padding: 2rem 1.5rem;
  }
  
  .strategic-callout::before {
    font-size: 5rem;
    top: -10px;
    left: 15px;
  }
  
  .strategic-callout h3 {
    font-size: 1.25rem;
  }
  
  .strategic-callout p {
    font-size: 1rem;
  }
}

/* Features Showcase */
.features-showcase {
  margin-top: 4rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}

.feature-row:not(:last-child) {
  border-bottom: 1px solid var(--card-border);
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-content {
  max-width: 500px;
}

.feature-icon-large {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
  width: 48px;
  height: 48px;
}

.feature-icon-svg {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-pill {
  margin-bottom: 1.5rem;
}

.feature-pill-icon {
  height: 48px;
  width: auto;
}

.feature-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-content p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.9375rem;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-blue-light);
  font-weight: 600;
}

.feature-image {
  display: flex;
  justify-content: center;
}

.feature-screenshot {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.1);
}

.feature-screenshot-svg {
  background: var(--card-bg);
  padding: 2rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-fast);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.feature-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

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

/* Product CTA */
.product-cta {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.product-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.product-cta-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.product-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-cta p {
  color: var(--text-gray);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.product-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* Stats Section (Skillbrynth) */
.product-stats-section {
  padding: 3rem 0;
  background: rgba(0, 0, 0, 0.3);
}

.product-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.product-stat {
  text-align: center;
}

.product-stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.product-stat-label {
  color: var(--text-gray);
  font-size: 0.9375rem;
  margin-top: 0.25rem;
}

/* How It Works */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.how-step {
  text-align: center;
  position: relative;
}

.how-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--card-border);
}

.how-step-number {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.how-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.how-step p {
  color: var(--text-gray);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Views Showcase (Skillbrynth) */
.views-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.view-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.view-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.view-card-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--card-border);
}

.view-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.view-badge-kids {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.view-badge-parents {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.view-card-header h3 {
  font-size: 1.25rem;
}

.view-card-image {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
}

.view-screenshot {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.view-card-features {
  padding: 1.5rem 2rem 2rem;
}

.view-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.view-feature:last-child {
  margin-bottom: 0;
}

.view-feature svg {
  width: 18px;
  height: 18px;
  color: var(--primary-blue-light);
  flex-shrink: 0;
}

/* Dashboard Mockup Styles */
.view-card-mockup {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
}

.dashboard-mockup {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mockup-header {
  margin-bottom: 1rem;
}

.mockup-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mockup-badge.adventurer {
  background: #fef3c7;
  color: #92400e;
}

.mockup-badge.guide {
  background: #dbeafe;
  color: #1e40af;
}

.mockup-skill-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.mockup-skill-icon {
  font-size: 1.25rem;
}

.mockup-skill-info {
  flex: 1;
}

.mockup-skill-name {
  display: block;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.mockup-progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.mockup-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 4px;
}

.guide-bar {
  height: 6px;
}

.guide-fill {
  background: linear-gradient(90deg, #10b981, #3b82f6);
}

.mockup-xp-text {
  font-size: 0.6875rem;
  color: #64748b;
}

.mockup-level {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3b82f6;
}

.mockup-xp-buttons {
  display: flex;
  gap: 0.375rem;
}

.xp-btn {
  padding: 0.25rem 0.5rem;
  background: #10b981;
  color: white;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.xp-btn-purple {
  background: #8b5cf6;
}

.mockup-reward-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #fef3c7;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.mockup-reward-icon {
  font-size: 1.25rem;
}

.mockup-reward-info {
  flex: 1;
}

.mockup-reward-title {
  display: block;
  font-weight: 600;
  color: #92400e;
  font-size: 0.8125rem;
}

.mockup-reward-text {
  color: #b45309;
  font-size: 0.875rem;
}

.mockup-suggest-btn {
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

.mockup-suggestion-box {
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.mockup-suggestion-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mockup-suggestion-icon {
  font-size: 1rem;
}

.mockup-suggestion-title {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.8125rem;
}

.mockup-new-badge {
  padding: 0.125rem 0.5rem;
  background: #fef3c7;
  color: #92400e;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  margin-left: auto;
}

.mockup-suggestion-text {
  display: block;
  color: #64748b;
  font-size: 0.8125rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.mockup-action-buttons {
  display: flex;
  gap: 0.5rem;
}

.mockup-btn {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
}

.mockup-btn-accept {
  background: #10b981;
  color: white;
}

.mockup-btn-modify {
  background: #8b5cf6;
  color: white;
}

.mockup-btn-decline {
  background: #e2e8f0;
  color: #64748b;
}

/* Skill Trees Grid */
.skill-trees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.skill-tree-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.skill-tree-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.skill-tree-card-wide {
  grid-column: 2 / 3;
}

.skill-tree-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.skill-tree-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.skill-tree-card p {
  color: var(--text-gray);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nav-link-dropdown svg {
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-link-dropdown svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 15, 30, 0.98);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  list-style: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-gray);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--transition-fast);
  font-size: 0.9375rem;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .product-hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .product-hero-text {
    max-width: 100%;
  }
  
  .product-hero-buttons {
    justify-content: center;
  }
  
  .product-hero-image {
    order: -1;
  }
  
  .product-splash-img {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .problem-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-row,
  .feature-row-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
  
  .feature-content {
    max-width: 100%;
    text-align: center;
  }
  
  .feature-list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .how-it-works {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .how-step:nth-child(2)::after {
    display: none;
  }
  
  .how-step::after {
    display: none;
  }
  
  .views-showcase {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .skill-trees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .skill-tree-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }
  
  .product-hero h1 {
    font-size: 2rem;
  }
  
  .product-stats {
    gap: 2rem;
  }
  
  .product-stat-number {
    font-size: 2.25rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .how-it-works {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .skill-trees-grid {
    grid-template-columns: 1fr;
  }
  
  .skill-tree-card-wide {
    grid-column: span 1;
  }
  
  .product-cta {
    padding: 2.5rem 1.5rem;
  }
  
  .product-cta h2 {
    font-size: 1.5rem;
  }
  
  .product-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-lg {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  /* Mobile dropdown */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: auto;
  }
  
  .nav-dropdown-menu a {
    padding: 0.5rem 0;
  }
}

/* Animation delays for staggered effects */
.animate-delay-3 {
  transition-delay: 0.3s;
}

.animate-delay-3.animate-visible {
  opacity: 1;
  transform: translateY(0);
}
