/* PhotonLandingStyles.css - Lighter Yellowish Theme */

/* CSS Custom Properties for Lighter Theme */
:root {
  --photon-primary: #facc15; /* yellow-400 */
  --photon-primary-dark: #f59e0b; /* yellow-500 */
  --photon-secondary: #f97316; /* orange-500 */
  --photon-secondary-dark: #ea580c; /* orange-600 */

  /* Lighter background colors */
  --photon-bg-primary: #1e293b; /* slate-800 - much lighter than pure black */
  --photon-bg-secondary: #334155; /* slate-700 - lighter secondary */
  --photon-bg-tertiary: #475569; /* slate-600 - even lighter */
  --photon-bg-accent: #fbbf24; /* yellow-400 with low opacity for warmth */

  --photon-text-primary: #ffffff;
  --photon-text-secondary: #e2e8f0; /* slate-200 - warmer white */
  --photon-text-muted: #cbd5e1; /* slate-300 - lighter muted text */
  --photon-border: #64748b; /* slate-500 - lighter borders */
  --photon-border-light: rgba(251, 191, 36, 0.3); /* warmer yellow border */
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Global Styles for Photon Landing Page */
.photon-landing {
  min-height: 100vh;
  /* Lighter yellowish gradient background */
  background: linear-gradient(135deg,
    #1e293b 0%,     /* slate-800 */
    #334155 25%,    /* slate-700 */
    #2d3748 50%,    /* gray-800 with slight warmth */
    #1a202c 75%,    /* gray-900 with warmth */
    #2d3748 100%    /* back to warm gray */
  );
  /* Add subtle yellow overlay */
  position: relative;
  color: var(--photon-text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.photon-landing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center,
    rgba(251, 191, 36, 0.08) 0%,
    rgba(251, 191, 36, 0.04) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.photon-landing > * {
  position: relative;
  z-index: 2;
}

/* Header Styles */
.photon-header {
  position: relative;
  z-index: 50;
  background: rgba(30, 41, 59, 0.8); /* slate-800 with transparency */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--photon-border-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.photon-header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.photon-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.photon-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.photon-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--photon-primary) 0%, var(--photon-secondary) 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.photon-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--photon-primary) 0%, var(--photon-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.photon-logo-subtitle {
  font-size: 0.75rem;
  color: var(--photon-text-muted);
  margin: 0;
}

/* Navigation */
.photon-nav {
  display: none;
  gap: 2rem;
}

.photon-nav a {
  color: var(--photon-text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.photon-nav a:hover,
.photon-nav a.active {
  color: var(--photon-primary);
  border-bottom-color: var(--photon-primary);
}

.photon-user-profile {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.photon-user-avatar {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--photon-primary) 0%, var(--photon-secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--photon-bg-primary);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.photon-user-name {
  color: var(--photon-text-secondary);
  font-size: 0.875rem;
}

.photon-mobile-menu-btn {
  background: none;
  border: none;
  color: var(--photon-text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

/* Mobile Menu */
.photon-mobile-menu {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--photon-border-light);
  padding: 1rem;
}

.photon-mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--photon-text-secondary);
  text-decoration: none;
  border-left: 3px solid transparent;
  padding-left: 1rem;
  transition: all 0.3s ease;
}

.photon-mobile-menu a.active,
.photon-mobile-menu a:hover {
  color: var(--photon-primary);
  border-left-color: var(--photon-primary);
  background: rgba(251, 191, 36, 0.1);
}

/* Hero Section */
.photon-hero {
  position: relative;
  padding: 5rem 1rem;
  overflow: hidden;
}

.photon-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    rgba(251, 191, 36, 0.15) 0%,
    rgba(249, 115, 22, 0.1) 50%,
    transparent 70%
  );
  filter: blur(60px);
}

.photon-hero-content {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.photon-hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.photon-hero-title-gradient {
  background: linear-gradient(90deg, var(--photon-primary) 0%, var(--photon-secondary) 50%, #eab308 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.photon-hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--photon-text-secondary);
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Quick Actions */
.photon-quick-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.photon-quick-action-btn {
  background: linear-gradient(90deg, var(--photon-primary) 0%, var(--photon-secondary) 100%);
  color: var(--photon-bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.photon-quick-action-btn:hover {
  background: linear-gradient(90deg, var(--photon-primary-dark) 0%, var(--photon-secondary-dark) 100%);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

/* Stats Grid */
.photon-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

.photon-stat-card {
  background: rgba(51, 65, 85, 0.6); /* slate-700 with transparency */
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--photon-border-light);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.photon-stat-card:hover {
  border-color: rgba(251, 191, 36, 0.6);
  background: rgba(51, 65, 85, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
}

.photon-stat-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--photon-primary);
  margin-bottom: 0.5rem;
}

.photon-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--photon-text-primary);
  margin-bottom: 0.25rem;
}

.photon-stat-label {
  font-size: 0.875rem;
  color: var(--photon-text-muted);
}

/* Modules Section */
.photon-modules {
  padding: 5rem 1rem;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(51, 65, 85, 0.1) 50%,
    transparent 100%
  );
}

.photon-modules-container {
  max-width: 1280px;
  margin: 0 auto;
}

.photon-modules-header {
  text-align: center;
  margin-bottom: 4rem;
}

.photon-modules-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--photon-text-primary);
  margin-bottom: 1rem;
}

.photon-modules-subtitle {
  font-size: 1.25rem;
  color: var(--photon-text-secondary);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

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

/* Module Cards */
.photon-module-card {
  position: relative;
  background: rgba(51, 65, 85, 0.4); /* slate-700 with low opacity */
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--photon-border);
  cursor: pointer;
  transition: all 0.5s ease;
  transform: scale(1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.photon-module-card:hover {
  border-color: rgba(251, 191, 36, 0.5);
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(251, 191, 36, 0.2);
  background: rgba(51, 65, 85, 0.7);
}

.photon-module-bg {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.photon-module-card:hover .photon-module-bg {
  opacity: 0.1;
}

.photon-module-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.photon-module-card:hover .photon-module-icon {
  transform: scale(1.1);
}

.photon-module-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--photon-text-primary);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.photon-module-card:hover .photon-module-title {
  color: var(--photon-primary);
}

.photon-module-description {
  color: var(--photon-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.photon-module-stats {
  font-size: 0.875rem;
  color: var(--photon-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.photon-module-features {
  margin-bottom: 1.5rem;
}

.photon-module-feature {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--photon-text-muted);
  margin-bottom: 0.5rem;
}

.photon-module-feature-dot {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--photon-primary);
  border-radius: 50%;
  margin-right: 0.5rem;
}

.photon-module-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.photon-module-action-text {
  color: var(--photon-primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.photon-module-card:hover .photon-module-action-text {
  color: #eab308;
}

.photon-module-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--photon-primary);
  transition: transform 0.3s ease;
}

.photon-module-card:hover .photon-module-arrow {
  transform: translateX(0.25rem);
}

/* Gradient Classes for Module Icons */
.gradient-yellow-orange { background: linear-gradient(135deg, #facc15 0%, #f97316 100%); }
.gradient-green-blue { background: linear-gradient(135deg, #22c55e 0%, #3b82f6 100%); }
.gradient-purple-pink { background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%); }
.gradient-emerald-cyan { background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%); }
.gradient-orange-red { background: linear-gradient(135deg, #fb923c 0%, #ef4444 100%); }
.gradient-blue-indigo { background: linear-gradient(135deg, #60a5fa 0%, #6366f1 100%); }
.gradient-pink-purple { background: linear-gradient(135deg, #f472b6 0%, #a855f7 100%); }

/* CTA Section */
.photon-cta {
  padding: 5rem 1rem;
  background: linear-gradient(90deg,
    rgba(251, 191, 36, 0.15) 0%,
    rgba(249, 115, 22, 0.1) 100%
  );
  border-top: 1px solid var(--photon-border-light);
  border-bottom: 1px solid var(--photon-border-light);
}

.photon-cta-container {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.photon-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--photon-text-primary);
  margin-bottom: 1.5rem;
}

.photon-cta-subtitle {
  font-size: 1.25rem;
  color: var(--photon-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.photon-cta-btn {
  background: linear-gradient(90deg, var(--photon-primary) 0%, var(--photon-secondary) 100%);
  color: var(--photon-bg-primary);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.photon-cta-btn:hover {
  background: linear-gradient(90deg, var(--photon-primary-dark) 0%, var(--photon-secondary-dark) 100%);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

/* Footer */
.photon-footer {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(8px);
  padding: 3rem 1rem;
  border-top: 1px solid var(--photon-border-light);
}

.photon-footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.photon-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.photon-footer-section h5 {
  color: var(--photon-text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.photon-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.photon-footer-section li {
  margin-bottom: 0.5rem;
}

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

.photon-footer-section a:hover {
  color: var(--photon-primary);
}

.photon-footer-bottom {
  border-top: 1px solid var(--photon-border);
  padding-top: 2rem;
  text-align: center;
}

.photon-footer-bottom p {
  color: var(--photon-text-muted);
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive Design */
@media (min-width: 768px) {
  .photon-nav {
    display: flex;
  }

  .photon-user-profile {
    display: flex;
  }

  .photon-mobile-menu-btn {
    display: none;
  }

  .photon-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .photon-modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .photon-modules-grid {
    grid-template-columns: 1fr;
  }

  .photon-quick-actions {
    flex-direction: column;
    align-items: center;
  }

  .photon-quick-action-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* Loading Animation */
.photon-loading {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid rgba(251, 191, 36, 0.3);
  border-radius: 50%;
  border-top-color: var(--photon-primary);
  animation: photon-spin 1s ease-in-out infinite;
}

@keyframes photon-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Accessibility */
.photon-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
.photon-quick-action-btn:focus,
.photon-module-card:focus,
.photon-cta-btn:focus {
  outline: 2px solid var(--photon-primary);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .photon-landing {
    background: white !important;
    color: black !important;
  }

  .photon-hero-bg,
  .photon-module-bg {
    display: none !important;
  }
}
