/* landing.css - PosterPro Landing Page Stylesheet (Default Light Mode with Dark Mode Support) */

:root {
  --bg-dark: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.8);
  --border-color: rgba(139, 92, 246, 0.15);
  --primary: #7c3aed;
  --primary-glow: rgba(139, 92, 246, 0.15);
  --text-main: #0f172a;
  --text-muted: #475569;
  --bg-navbar: rgba(248, 250, 252, 0.7);
  --bg-dark-section: #f1f5f9;
  --mockup-bg: #f1f5f9;
  --mockup-header: #e2e8f0;
  --logo-text: #0f172a;
  --card-shadow: 0 10px 30px rgba(139, 92, 246, 0.05);
}

.dark {
  --bg-dark: #070913;
  --bg-card: rgba(20, 24, 46, 0.45);
  --border-color: rgba(139, 92, 246, 0.15);
  --primary: #8b5cf6;
  --primary-glow: rgba(139, 92, 246, 0.3);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --bg-navbar: rgba(7, 9, 19, 0.7);
  --bg-dark-section: #0b0d19;
  --mockup-bg: #0f111f;
  --mockup-header: #141727;
  --logo-text: #ffffff;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Background glowing orbs */
.glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.12;
}
.orb-1 {
  background: var(--primary);
  top: 10%;
  left: -100px;
}
.orb-2 {
  background: #ec4899;
  top: 50%;
  right: -100px;
}

/* Navigation */
.navbar {
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-navbar);
  transition: background-color 0.3s ease;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--logo-text);
}
.logo-dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--primary), #ec4899);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary);
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(139, 92, 246, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.1);
}
.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* Hero Section */
.hero-section {
  padding: 80px 0 120px 0;
  text-align: center;
  position: relative;
}
.hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.badge {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}
.hero-container h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -1px;
}
.hero-container h1 span {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
}
.hero-visual {
  margin-top: 60px;
  width: 100%;
  max-width: 800px;
}

/* Mockup Frame */
.mockup-frame {
  background: var(--mockup-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: background-color 0.3s ease;
}
.mockup-header {
  background: var(--mockup-header);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}
.mockup-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-header .dot.red { background: #ef4444; }
.mockup-header .dot.yellow { background: #f59e0b; }
.mockup-header .dot.green { background: #10b981; }
.mockup-title {
  margin-left: 12px;
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
}
.mockup-content {
  height: 250px;
  padding: 16px;
}
.mockup-dashboard-layout {
  display: flex;
  height: 100%;
  gap: 16px;
}
.mockup-sidebar {
  width: 25%;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mockup-sidebar .item {
  height: 20px;
  background: rgba(0,0,0,0.04);
  border-radius: 4px;
}
.mockup-sidebar .item.active {
  background: var(--primary);
  opacity: 0.2;
}
.mockup-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-row {
  display: flex;
  gap: 12px;
}
.card-row .card.mini {
  flex: 1;
  height: 40px;
  background: rgba(0,0,0,0.03);
  border-radius: 6px;
}
.large-card {
  flex: 1;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
}

/* Sections */
.section {
  padding: 100px 0;
  transition: background-color 0.3s ease;
}
.bg-dark {
  background-color: var(--bg-dark-section);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 20px;
}
.feature-svg-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  display: block;
}
.feature-card:hover .feature-svg-icon {
  transform: scale(1.1) rotate(2deg);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-main);
}
.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Pricing Section */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  box-shadow: var(--card-shadow);
}
.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 10px 30px var(--primary-glow);
}
.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #ec4899);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.price-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}
.price {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-main);
}
.price span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.price-desc {
  font-size: 13px;
  color: var(--text-muted);
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}
.price-features li {
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}
.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}
.faq-question::after {
  content: '+';
  color: var(--primary);
  font-size: 20px;
}
.faq-item.active .faq-question::after {
  content: '-';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 0;
  transition: all 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 12px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

@media(max-width: 768px) {
  .hero-container h1 {
    font-size: 40px;
  }
  .nav-links {
    display: none;
  }
}
