/* CSS Variables */
:root {
  --bg: #0b0b12;
  --text: #e5e7eb;
  --muted: aliceblue;
  --primary: #06b6d4;
  --accent: #22c55e;
  --card: #111827;
  --card-border: #1f2937;
  
  /* Help page light theme variables */
  --help-bg: #ffffff;
  --help-text: #111827;
  --help-muted: #6b7280;
  --help-primary: #3b82f6;
  --help-accent: #dbeafe;
  --help-card: #f8fafc;
  --help-border: #e5e7eb;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
}

/* Background Effects */
.backdrop {
  position: fixed;
  inset: -20%;
  z-index: -3;
  filter: blur(70px);
  opacity: 0.6;
  background: radial-gradient(600px 300px at 10% 10%, #06b6d4 25%, transparent),
              radial-gradient(700px 550px at 90% 20%, #22c55e 20%, transparent),
              radial-gradient(700px 820px at 50% 110%, #7c3aed 18%, transparent);
}

.top-gradient {
  position: fixed;
  top: -120px;
  left: -10vw;
  right: -10vw;
  height: 380px;
  z-index: -1;
  filter: saturate(1.3);
  background: linear-gradient(90deg, #ff6b6b 0%, #f59e0b 16%, #facc15 32%, #22c55e 48%, #06b6d4 64%, #3b82f6 80%, #a855f7 100%);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
  transform: skewY(-6deg);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.float {
  animation: float 6s ease-in-out infinite;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--card-border);
  position: relative;
  z-index: 1;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  height: 72px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  margin-left: 8px;
  font-weight: 900;
  font-size: 24px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.header-nav {
  display: flex;
  gap: 16px;
}

.header-nav a {
  color: #f8fafc;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Beta Banner */
.beta-banner {
  background: #f59e0b;
  color: #0b0b12;
  text-align: center;
  padding: 8px 16px;
  font-weight: 700;
}

/* Hero Section */
.hero {
  padding: 90px 0 40px;
  position: relative;
}

.hero:after {
  display: none;
}


.hero-card {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  width: 100%;
}

.hero-card:before {
  display: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.hero-text {
  color: whitesmoke;
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
}

.hero h1 {
  font-size: 68px;
  line-height: 1.02;
  margin: 0 0 16px;
  color: white;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
}

.hero-text h1 {
  color: white;
}

.hero-text p {
  margin-bottom: 16px;
}

/* Form Styles */
.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: #0b0f14;
  color: #fff;
  min-width: 260px;
}

.form-input--name {
  min-width: 220px;
}

.form-message {
  align-self: center;
}

/* Utility Classes */
.muted {
  color: var(--muted);
}

.cta {
  display: inline-block;
  background: var(--primary);
  color: #0b0b12;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cta:hover {
  background: #0891b2;
  text-decoration: none;
}

/* Grid System */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  min-width: 0;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 0;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card--featured {
  border-color: #22c55e;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.09), transparent);
  margin-bottom: 24px;
}

.card--free {
  border-color: #9ca3af;
  background: linear-gradient(180deg, rgba(156, 163, 175, 0.09), transparent);
}

.card--starter {
  border-color: #22c55e;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.09), transparent);
}

.card--standard {
  border-color: #06b6d4;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.09), transparent);
}

.card--pro {
  border-color: #f59e0b;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.09), transparent);
}

/* Sections */
.section {
  margin: 48px 0;
}

.section--small {
  margin: 32px 0;
}

.section h2 {
  font-size: 32px;
  margin: 0 0 20px;
  color: #ffffff;
}

.section h3 {
  font-size: 24px;
  margin: 0 0 12px;
  color: #ffffff;
}

.section p {
  margin-bottom: 16px;
}

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 24px;
}

.toggle-label {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1f2937;
  border-radius: 28px;
  transition: 0.2s;
}

.toggle-knob {
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}

.toggle-slider.active {
  background: #06b6d4;
}

.toggle-knob.active {
  transform: translateX(24px);
}

.pricing-savings {
  color: #22c55e;
  font-weight: 700;
}

/* Pricing Elements */
.line {
  color: #9ca3af;
  text-decoration: line-through;
  margin-right: 8px;
}

.badge {
  background: #22c55e;
  color: #0b0b12;
  border-radius: 999px;
  padding: 4px 6px;
  font-weight: 800;
  font-size: 12px;
  margin-left: 8px;
}

/* Public Container Styles */
.public-container {
  display: none;
  margin: 32px 0;
}

.public-container .card {
  padding: 18px;
}

.public-container h2 {
  margin: 0 0 8px;
}

.pc-name {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 6px;
}

.pc-meta {
  margin-bottom: 12px;
}

.pc-children {
  margin-top: 16px;
}

.pc-app-cta {
  margin-top: 12px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 16px;
  }
  
  .hero h1 {
    font-size: 48px;
  }
  
  .header-nav {
    flex-direction: column;
    gap: 8px;
  }
  
  .waitlist-form {
    flex-direction: column;
  }
  
  .form-input {
    min-width: 100%;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .grid--4-cols {
    grid-template-columns: 1fr;
  }
  
  .pricing-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 36px;
  }
  
  .brand-title {
    font-size: 20px;
  }
  
  .header-logo {
    height: 60px;
    max-width: 150px;
  }
}

/* PROPIVE Page Styles */
.page-header {
  padding: 20px 0;
  margin-bottom: 32px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-header h1 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 32px;
  font-weight: 700;
}

.subtitle {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 32px 0;
  font-weight: 400;
}

.content-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 32px;
  margin: 0;
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  margin: 16px 0;
  font-size: 14px;
  transition: color 0.2s;
}

.github-link:hover {
  color: var(--text);
}

.footer-links {
  padding-top: 32px;
  border-top: 1px solid var(--card-border);
  margin-top: 32px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 24px;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Legal Pages Styles */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 32px;
  margin: 20px 0;
}

.legal-card h1 {
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 32px;
}

.legal-card h2 {
  color: var(--text);
  margin: 32px 0 16px;
  font-size: 24px;
}

.legal-card h3 {
  color: var(--text);
  margin: 24px 0 12px;
  font-size: 20px;
}

.back-link {
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 20px;
}

.back-link:hover {
  text-decoration: underline;
}

.legal-card p {
  margin: 16px 0;
}

.legal-card ul,
.legal-card ol {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-card li {
  margin: 8px 0;
}

.highlight {
  background: rgba(6, 182, 212, 0.1);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  margin: 20px 0;
}

.warning {
  background: rgba(245, 158, 11, 0.1);
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
  margin: 20px 0;
}

.contact-info {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.section-number {
  color: var(--primary);
  font-weight: bold;
}

/* Google Verification Styles */
.verification-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.verification-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 24px;
  margin: 20px 0;
}

.verification-card h1 {
  color: var(--primary);
  margin-bottom: 16px;
}

.code {
  background: #1f2937;
  padding: 12px;
  border-radius: 8px;
  font-family: monospace;
  margin: 12px 0;
  word-break: break-all;
}

/* Utility Classes for Inline Styles */
.flex {
  display: flex;
}

.flex-center {
  align-items: center;
}

.gap-10 {
  gap: 10px;
}

.gap-16 {
  gap: 16px;
}

.margin-top-24 {
  margin-top: 24px;
}

.margin-bottom-8 {
  margin-bottom: 8px;
}

.width-48 {
  width: 48px;
}

.height-48 {
  height: 48px;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.margin-0 {
  margin: 0;
}

/* Contact Form Styles */
.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.form-input {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: var(--card);
  color: var(--text);
  font-size: 16px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

select.form-input {
  cursor: pointer;
}

.error-message {
  color: #ef4444;
  font-size: 14px;
  margin-top: 4px;
  display: none;
}

.error-message:not(:empty) {
  display: block;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.captcha-container span {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.captcha-container input {
  flex: 1;
  min-width: 80px;
}

.btn-secondary {
  padding: 8px 16px;
  background: var(--card-border);
  color: var(--text);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}

.checkbox-input {
  margin: 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-text {
  color: var(--text);
}

.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-info {
  display: grid;
  gap: 32px;
}

.contact-item h3 {
  color: var(--text);
  font-size: 18px;
  margin: 0 0 12px;
  font-weight: 600;
}

.contact-item p {
  margin: 0 0 8px;
  line-height: 1.5;
}

.contact-item ul {
  margin: 0;
  padding-left: 20px;
}

.contact-item li {
  margin-bottom: 8px;
  line-height: 1.4;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  padding: 8px 16px;
  background: var(--card-border);
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--primary);
  color: white;
  text-decoration: none;
}

/* Contact page responsive design */
@media (max-width: 768px) {
  .contact-form .grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .captcha-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .captcha-container input {
    min-width: auto;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Help Documentation Styles */
.help-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  min-height: calc(100vh - 200px);
}

.help-sidebar {
  background: var(--help-card);
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.help-sidebar h2 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--help-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.help-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.help-nav li {
  margin-bottom: 0.25rem;
}

.help-nav a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: var(--help-muted);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.help-nav a:hover {
  background: var(--help-border);
  color: var(--help-text);
}

.help-nav a.active {
  background: var(--help-accent);
  color: var(--help-primary);
  font-weight: 500;
}

.help-nav a svg {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
}

.help-content {
  background: var(--help-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.help-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--help-text);
  margin-bottom: 0.5rem;
}

.help-content .subtitle {
  font-size: 1.25rem;
  color: var(--help-muted);
  margin-bottom: 2rem;
}

.help-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--help-border);
}

.help-section:last-child {
  border-bottom: none;
}

.help-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--help-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.help-section h2 svg {
  width: 24px;
  height: 24px;
  margin-right: 0.75rem;
  color: var(--help-primary);
}

.help-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--help-text);
  margin: 1.5rem 0 0.75rem 0;
}

.help-section p {
  color: var(--help-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.help-section ul, .help-section ol {
  color: var(--help-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.help-section li {
  margin-bottom: 0.5rem;
}

.screenshot {
  background: var(--help-card);
  border: 1px solid var(--help-border);
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
  text-align: center;
}

.screenshot img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.screenshot-caption {
  font-size: 0.875rem;
  color: var(--help-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

.support-box {
  background: var(--help-accent);
  border: 1px solid #93c5fd;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.support-box h3 {
  color: #1e40af;
  margin-bottom: 0.75rem;
}

.support-box p {
  color: #1e40af;
  margin-bottom: 1rem;
}

.support-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--help-primary);
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
}

.btn-secondary {
  background: white;
  color: var(--help-primary);
  border: 1px solid var(--help-primary);
}

.btn-secondary:hover {
  background: var(--help-card);
}

@media (max-width: 768px) {
  .help-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .help-sidebar {
    position: static;
    order: 2;
  }
  
  .help-content {
    order: 1;
  }
  
  .help-content h1 {
    font-size: 2rem;
  }
}
