/* ReelFlow Modern Liquid Glassmorphic Design System */
:root {
  --bg-primary: #0a0a0e;
  --bg-secondary: #12101a;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-card-hover: rgba(255, 255, 255, 0.22);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.45);
  --accent-pink: #e1306c;
  --accent-purple: #833ab4;
  --accent-cyan: #0284c7;
  --accent-orange: #f77737;
  --accent-gradient: linear-gradient(135deg, #e1306c 0%, #c13584 50%, #833ab4 100%);
  --cyan-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --glow-top: rgba(225, 48, 108, 0.18);
  --glow-bottom: rgba(2, 132, 199, 0.15);
  --nav-bg: rgba(10, 10, 14, 0.75);
  --shadow-card: 0 16px 36px rgba(0, 0, 0, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #eff6ff;
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --border-card: rgba(0, 0, 0, 0.09);
  --border-card-hover: rgba(2, 132, 199, 0.35);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-pink: #e1306c;
  --accent-purple: #833ab4;
  --accent-cyan: #0284c7;
  --accent-orange: #f77737;
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --cyan-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --glow-top: rgba(2, 132, 199, 0.12);
  --glow-bottom: rgba(37, 99, 235, 0.10);
  --nav-bg: rgba(248, 250, 252, 0.85);
  --shadow-card: 0 16px 36px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background-color 0.35s ease, color 0.35s ease;
  line-height: 1.6;
}

/* Background Glowing Ambient Orbs */
.ambient-glow-1 {
  position: fixed;
  top: -150px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: var(--glow-top);
  filter: blur(140px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: background 0.4s ease;
}

.ambient-glow-2 {
  position: fixed;
  bottom: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: var(--glow-bottom);
  filter: blur(150px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: background 0.4s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navigation Bar */
header.navbar-wrapper {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin-bottom: 24px;
}

nav.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  transform: scale(1.05);
}

.btn-nav-cta {
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.3);
  transition: all 0.25s ease;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.45);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
  text-align: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pill-badge span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(225, 48, 108, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

/* Feature Graphic Showcase */
.hero-visual-card {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  position: relative;
  background: var(--bg-card);
}

.hero-visual-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Value Props / Feature Grid */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--accent-pink);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: rgba(225, 48, 108, 0.15);
  color: var(--accent-pink);
}

.card-icon.cyan {
  background: rgba(2, 132, 199, 0.15);
  color: var(--accent-cyan);
}

.card-icon.purple {
  background: rgba(131, 58, 180, 0.15);
  color: var(--accent-purple);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Screenshots Showcase */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.screenshot-item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: scale(1.02);
}

.screenshot-item img {
  width: 100%;
  display: block;
}

/* Privacy & Legal Content Layout */
.policy-container {
  max-width: 860px;
  margin: 40px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.policy-header {
  border-bottom: 1px solid var(--border-card);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.policy-header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.policy-date {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text-primary);
}

.policy-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.policy-content ul {
  margin: 12px 0 20px 24px;
  color: var(--text-secondary);
}

.policy-content li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.highlight-box {
  background: rgba(16, 185, 129, 0.10);
  border-left: 4px solid #10b981;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  color: var(--text-primary);
}

/* Footer */
footer.footer {
  border-top: 1px solid var(--border-card);
  padding: 50px 0 30px;
  margin-top: 60px;
  background: rgba(10, 10, 14, 0.4);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-card);
  padding-top: 24px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  nav.navbar {
    border-radius: 20px;
    padding: 10px 18px;
  }
  .nav-links {
    display: none;
  }
  .policy-container {
    padding: 24px 18px;
  }
  .hero-section {
    padding: 40px 0 60px;
  }
  .section-title {
    font-size: 1.9rem;
  }
}
