:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --border-subtle: #e2e8f0;
  --border-focus: rgba(255, 94, 58, 0.4);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  
  --primary: #ff5e3a;
  --primary-glow: rgba(255, 94, 58, 0.2);
  --primary-gradient: linear-gradient(135deg, #ff5e3a 0%, #ff8c42 100%);
  --accent-cyan: #0284c7;
  --accent-purple: #9333ea;
  --accent-green: #059669;
  --accent-amber: #d97706;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 35px -5px rgba(255, 94, 58, 0.12), 0 10px 15px -3px rgba(15, 23, 42, 0.05);
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Subtle Background Tints */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.15) 0%, rgba(255, 94, 58, 0.05) 70%);
}

.orb-2 {
  width: 550px;
  height: 550px;
  top: 35%;
  left: -150px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.08) 0%, transparent 70%);
}

.orb-3 {
  width: 450px;
  height: 450px;
  bottom: 5%;
  right: 5%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, transparent 70%);
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

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

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(255, 94, 58, 0.25);
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: rotate(6deg) scale(1.06);
}

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

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 94, 58, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

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

.btn-kofi {
  background: #ff5e5b;
  color: white;
}

.btn-kofi:hover {
  background: #ff4744;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 94, 91, 0.35);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 94, 58, 0.08);
  border: 1px solid rgba(255, 94, 58, 0.2);
  color: #e04a25;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #0f172a;
}

.gradient-text {
  background: linear-gradient(135deg, #ff5e3a 10%, #ff8c42 60%, #ff4b2b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 38px;
  line-height: 1.65;
}

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

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  color: var(--accent-green);
}

/* Feature Showcase Hero Card */
.hero-visual-card {
  max-width: 820px;
  margin: 40px auto 0;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.visual-item {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.visual-item-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.visual-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.visual-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Feature Grid */
.section {
  padding: 80px 0;
  position: relative;
}

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

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-main);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-hover);
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(255, 94, 58, 0.1);
  color: var(--primary);
  border: 1px solid rgba(255, 94, 58, 0.2);
}

.feature-icon-wrapper.cyan {
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-cyan);
  border-color: rgba(2, 132, 199, 0.2);
}

.feature-icon-wrapper.purple {
  background: rgba(147, 51, 234, 0.1);
  color: var(--accent-purple);
  border-color: rgba(147, 51, 234, 0.2);
}

.feature-icon-wrapper.green {
  background: rgba(5, 150, 105, 0.1);
  color: var(--accent-green);
  border-color: rgba(5, 150, 105, 0.2);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Themes Showcase */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.theme-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.theme-preview-box {
  height: 75px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Theme Previews in Light/Card Context */
.preview-sunset {
  background: linear-gradient(135deg, #2a1b18 0%, #17111a 100%);
  border: 1px solid rgba(255, 107, 74, 0.5);
  color: #ff8c42;
}

.preview-material {
  background: #252932;
  border-radius: 20px;
  border: 1px solid #3c404b;
  color: #bb86fc;
}

.preview-neobrutalism {
  background: #ffde59;
  color: #000;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  font-weight: 800;
}

.preview-futuristic {
  background: #05141c;
  border: 1px solid #00e5ff;
  color: #00e5ff;
  font-family: var(--font-mono);
}

.preview-glassmorphism {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  font-weight: 600;
}

.preview-retro {
  background: #2b2210;
  border: 2px solid #ffb300;
  color: #ffca28;
  font-family: var(--font-mono);
}

.preview-neumorphism {
  background: #e2e8f0;
  box-shadow: inset 2px 2px 5px #cbd5e1, inset -2px -2px 5px #ffffff;
  border-radius: 12px;
  color: #1e293b;
}

.preview-y2k {
  background: linear-gradient(135deg, #ff70a6 0%, #70d6ff 100%);
  color: #000;
  font-weight: 900;
  border: 1px solid #fff;
}

.theme-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.theme-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Privacy Guarantee Banner */
.privacy-banner {
  background: #ffffff;
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 50px;
  box-shadow: 0 10px 30px -5px rgba(5, 150, 105, 0.08);
}

.privacy-content h3 {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.privacy-content p {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 620px;
  margin-bottom: 18px;
}

.privacy-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: #059669;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* Creator Support Banner */
.creator-section {
  text-align: center;
  background: var(--bg-secondary);
  padding: 70px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.creator-card {
  max-width: 620px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

/* Privacy Page Specific Styles */
.policy-page {
  padding: 50px 0 90px;
}

.policy-header {
  margin-bottom: 36px;
  text-align: left;
}

.policy-header h1 {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-highlight-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 36px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.policy-highlight-card svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

.policy-highlight-card h4 {
  font-size: 1.15rem;
  color: #065f46;
  margin-bottom: 6px;
  font-weight: 700;
}

.policy-highlight-card p {
  color: #1e3a2e;
  font-size: 0.95rem;
  line-height: 1.6;
}

.policy-body {
  max-width: 850px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.policy-section {
  margin-bottom: 34px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-section p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.policy-section ul {
  list-style: none;
  margin-left: 4px;
  margin-bottom: 16px;
}

.policy-section li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.policy-section li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.code-snippet {
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #e04a25;
  border: 1px solid #e2e8f0;
}

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* Mobile Responsiveness */
@media (max-width: 868px) {
  .nav-links {
    display: none;
  }
  
  .hero-visual-card {
    grid-template-columns: 1fr;
  }
  
  .privacy-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
  }
  
  .policy-body {
    padding: 28px 20px;
  }
}
