/* Color Palette - LocatorLab Theme - Orange Focus */
:root {
  --primary: #FF6B00;
  --primary-light: #FF8533;
  --primary-dark: #CC5500;
  --secondary: #2196F3;
  --accent: #FF9800;
  --success: #4caf50;
  --edge: #0078D7;
  --bg-dark: #1a1a1a;
  --bg-light: #f5f7fa;
  --text-dark: #212121;
  --text-light: #757575;
  --border: #FF9800;
  --glow: rgba(255, 107, 0, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.header-buttons {
  display: flex;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Buttons */
.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: 2px solid var(--border);
  box-shadow: 0 0 15px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--glow), 0 5px 20px rgba(255, 107, 0, 0.4);
}

.btn-edge {
  background: linear-gradient(135deg, var(--edge), #005a9e);
  color: white;
  border: 2px solid #0078D7;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-edge:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 120, 215, 0.6), 0 5px 20px rgba(0, 120, 215, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 20px var(--glow);
}

/* Glow Text Animation */
.glow-text {
  animation: glow 2s ease-in-out infinite alternate;
}

.glow-text-hero {
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px var(--glow), 0 0 10px var(--glow);
  }
  to {
    text-shadow: 0 0 10px var(--glow), 0 0 20px var(--glow), 0 0 30px var(--glow);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    text-shadow: 0 0 5px var(--glow), 0 0 10px var(--glow);
  }
  50% {
    text-shadow: 0 0 15px var(--glow), 0 0 25px var(--glow), 0 0 35px var(--glow);
  }
}

/* Pulse Animation */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--glow);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2a2a 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, var(--glow) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(33, 150, 243, 0.3) 0%, transparent 50%);
  animation: gradient-shift 8s ease infinite;
  pointer-events: none;
}

@keyframes gradient-shift {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.browser-support {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.9);
}

.highlight {
  color: var(--primary);
  font-weight: bold;
  text-shadow: 0 0 10px var(--glow);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

/* Features Section */
.features {
  padding: 5rem 2rem;
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--border);
  box-shadow: 0 0 30px var(--glow), 0 8px 30px rgba(255, 107, 0, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Demo Section */
.demo {
  padding: 5rem 2rem;
  background: white;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-container iframe {
  aspect-ratio: 16/9;
  border-radius: 12px;
  border: 3px solid var(--border);
  box-shadow: 0 0 30px var(--glow);
}

.play-button {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Frameworks Section */
.frameworks {
  padding: 5rem 2rem;
  background: var(--bg-light);
  text-align: center;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.framework-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid transparent;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.framework-item:hover {
  border-color: var(--border);
  box-shadow: 0 0 20px var(--glow);
  transform: scale(1.05);
}

.framework-name {
  font-size: 1.3rem;
  font-weight: 600;
}

.language-tags {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.tag {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Installation Section */
.install {
  padding: 5rem 2rem;
  background: white;
}

.install-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 250px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
  box-shadow: 0 0 20px var(--glow);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.step-arrow {
  font-size: 2rem;
  color: var(--primary);
}

.cta-box {
  background: linear-gradient(135deg, var(--bg-dark), #2a2a2a);
  color: white;
  padding: 3rem;
  border-radius: 12px;
  border: 3px solid var(--border);
  box-shadow: 0 0 40px var(--glow);
  text-align: center;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, var(--glow), transparent);
  animation: rotate-glow 4s linear infinite;
}

@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-box h3,
.cta-buttons {
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-box h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 3rem 2rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.footer-section a {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 5rem 2rem;
  background: var(--bg-light);
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 2px solid transparent;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-item:hover {
  border-color: var(--border);
  box-shadow: 0 0 20px var(--glow);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.3s;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.faq-question h3 {
  flex: 1;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 4rem;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

.faq-answer strong {
  color: var(--primary);
  font-weight: 600;
}

/* Contact Section */
.contact {
  padding: 5rem 2rem;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid transparent;
  text-align: center;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--border);
  box-shadow: 0 0 25px var(--glow);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px var(--glow);
}

/* Changelog Section */
.changelog {
  padding: 5rem 2rem;
  background: #fff8f3;
}

.changelog-list {
  max-width: 900px;
  margin: 0 auto;
}

.changelog-item {
  background: white;
  border: 2px solid #ffe8d9;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.05);
}

.changelog-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.15);
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.changelog-version {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.95rem;
}

.changelog-date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.changelog-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.changelog-badge.new {
  background: #10b981;
  color: white;
}

.changelog-content h4 {
  color: var(--primary);
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.changelog-content h4:first-child {
  margin-top: 0;
}

.changelog-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.changelog-content li {
  color: var(--text-dark);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}

.changelog-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.changelog-content li strong {
  color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .nav-links {
    display: none;
  }

  .header-buttons {
    flex-direction: column;
    gap: 0.25rem;
  }

  .stats {
    gap: 2rem;
  }

  .step-arrow {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary, .btn-edge {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}

/* Plans Section */
.plans {
  padding: 5rem 2rem;
  background: var(--bg-dark);
}

.plans .section-title {
  color: white;
}

.plans-subtitle {
  text-align: center;
  color: #aaa;
  font-size: 1.1rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  background: #242424;
  border: 2px solid #333;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 0 30px var(--glow);
}

.plan-card-pro {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.25);
}

.plan-badge {
  display: inline-block;
  background: #333;
  color: #aaa;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  width: fit-content;
}

.plan-badge-pro {
  background: var(--primary);
  color: white;
}

.plan-icon {
  font-size: 2.5rem;
}

.plan-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.plan-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: #888;
}

.plan-desc {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
}

.plan-features {
  list-style: none;
  padding: 0;
  flex: 1;
}

.plan-features li {
  padding: 0.45rem 0;
  color: #ccc;
  font-size: 0.95rem;
  border-bottom: 1px solid #2e2e2e;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-btn {
  display: inline-block;
  text-align: center;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.plan-btn-free {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.plan-btn-free:hover {
  background: var(--primary);
  color: white;
}

.plan-btn-pro {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: white;
}

.plan-btn-pro:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 0 20px var(--glow);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}