/* Phoenix Dev Interactive - Fire Gradient Theme */

:root {
  --phoenix-orange: #FF6B35;
  --phoenix-red: #E63946;
  --phoenix-gold: #FFB627;
  --phoenix-deep-orange: #FF4500;
  --dark-bg: #0a0a0a;
  --dark-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --gradient-fire: linear-gradient(135deg, #FFB627 0%, #FF6B35 50%, #E63946 100%);
  --gradient-fire-reverse: linear-gradient(135deg, #E63946 0%, #FF6B35 50%, #FFB627 100%);
  --glow-fire: 0 0 20px rgba(255, 107, 53, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Particles */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* Gradient Text Effect */
.gradient-text {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(10deg); }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

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

nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
}

nav .logo img {
  height: 40px;
  width: auto;
}

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

nav .nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

nav .nav-links a:hover {
  color: var(--phoenix-orange);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: var(--glow-fire);
}

.hero .tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gradient-fire);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--glow-fire);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

/* Section Styling */
section {
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  background: linear-gradient(180deg, var(--dark-bg) 0%, #0f0f0f 100%);
}

.about-content {
  background: var(--dark-card);
  padding: 3rem;
  border-radius: 20px;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--dark-card), var(--dark-card)), var(--gradient-fire);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Apps Section */
.apps {
  background: var(--dark-bg);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.app-card {
  background: var(--dark-card);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
}

.app-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.app-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-image-placeholder {
  width: 80px;
  height: 80px;
  background: var(--gradient-fire);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.app-info {
  padding: 2rem;
}

.app-info h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.app-info .app-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 107, 53, 0.2);
  color: var(--phoenix-orange);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.app-info p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.app-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.app-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-features li::before {
  content: "🔥";
  font-size: 1rem;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-fire);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-link:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

/* Footer */
footer {
  background: #0a0a0a;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--phoenix-orange);
}

.footer-section p,
.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--phoenix-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Privacy and Terms Pages */
.page-header {
  padding: 8rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, #0f0f0f 0%, var(--dark-bg) 100%);
}

.page-header h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
}

.page-header .last-updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.content-section {
  padding: 3rem 2rem;
}

.content-section .container {
  max-width: 900px;
}

.content-section h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--phoenix-orange);
}

.content-section h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-section ul,
.content-section ol {
  color: var(--text-secondary);
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--phoenix-orange);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.back-link:hover {
  transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  nav .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  section {
    padding: 3rem 1rem;
  }
  
  .about-content {
    padding: 2rem;
  }
  
  .app-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Glow Effect on Hover */
.glow-on-hover {
  transition: filter 0.3s ease;
}

.glow-on-hover:hover {
  filter: drop-shadow(0 0 10px var(--phoenix-orange));
}

