/* ─────────────────────────────────────────────────────────────
   OrganizeOS — Modern Product Landing CSS Design System

   ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette — Modern Emerald & Neon Cyan Theme */
  --hue-primary: 160;
  --hue-accent: 188;

  --color-bg-dark: #090d16;
  --color-surface-dark: rgba(17, 24, 39, 0.75);
  --color-card-dark: rgba(30, 41, 59, 0.6);
  --color-border-dark: rgba(255, 255, 255, 0.08);
  --color-text-dark: #f8fafc;
  --color-text-sub-dark: #94a3b8;

  --color-bg-light: #ffffff;
  --color-surface-light: #f8fafc;
  --color-card-light: #ffffff;
  --color-border-light: #cbd5e1;
  --color-text-light: #0f172a;
  --color-text-sub-light: #334155;

  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.35);
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.35);
  --gradient-main: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #34d399 0%, #38bdf8 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Default Theme: Dark Mode */
[data-theme="dark"] {
  --bg-color: var(--color-bg-dark);
  --surface-color: var(--color-surface-dark);
  --card-color: var(--color-card-dark);
  --border-color: var(--color-border-dark);
  --text-main: var(--color-text-dark);
  --text-sub: var(--color-text-sub-dark);
  --glass-bg: rgba(15, 23, 42, 0.7);
  --nav-bg: rgba(9, 13, 22, 0.8);
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-color: var(--color-bg-light);
  --surface-color: var(--color-surface-light);
  --card-color: var(--color-card-light);
  --border-color: var(--color-border-light);
  --text-main: var(--color-text-light);
  --text-sub: var(--color-text-sub-light);
  --glass-bg: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --gradient-text: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Typography & Accent Text */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.25);
  backdrop-filter: blur(8px);
}

/* Container Utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-smooth);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

.brand-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-sub);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px -5px var(--primary-glow);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

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

.btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.badge-tag {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tag-temp {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.tag-soon {
  font-size: 0.6rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(14, 165, 233, 0.18);
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-left: 6px;
  display: inline-block;
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(6,182,212,0.1) 40%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  margin: 1.2rem 0;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-sub);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 1.8rem;
  color: var(--text-main);
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin: 0;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4), 0 0 40px var(--primary-glow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* Features Section */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin: 0.8rem 0;
}

.section-header p {
  color: var(--text-sub);
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

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

/* Inspiration & Story Section */
.inspiration-section {
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.inspiration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.inspiration-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.inspiration-content p {
  color: var(--text-sub);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.quote-box {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-main);
  font-size: 1.1rem;
}

.inspiration-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.insp-card {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.insp-card i {
  color: var(--primary);
  font-size: 1.3rem;
}

/* Inspiration section logo image */
.insp-logo-img {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(16, 185, 129, 0.3));
}

/* On light mode the logo has a white box — use multiply blend mode to erase it */
[data-theme="light"] .insp-logo-img {
  mix-blend-mode: multiply;
}

/* Interactive Preview / Live Demo Section */
.mobile-menu-actions {
  display: none;
}

.demo-widgets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.preview-card {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.preview-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.demo-lang-selector {
  background: var(--surface-color);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
}

.demo-task-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.demo-task-item:hover {
  border-color: var(--primary);
}

.demo-task-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.demo-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  background: transparent;
  flex-shrink: 0;
}

.demo-checkbox i {
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

.demo-checkbox.checked {
  background: var(--primary);
  color: #ffffff;
}

.demo-checkbox.checked i {
  opacity: 1;
  transform: scale(1);
}

.demo-pin {
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-sub);
  transition: all var(--transition-fast);
  margin-right: 0.25rem;
}

.demo-pin.pinned {
  color: var(--primary);
  transform: rotate(-30deg);
}

.demo-pin:hover {
  color: var(--primary);
}

.demo-sort-selector {
  background: var(--surface-color);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.demo-task-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.demo-task-title.completed {
  text-decoration: line-through;
  opacity: 0.5;
}

.demo-chip {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.chip-urgent { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.chip-medium { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.chip-low { background: rgba(16, 185, 129, 0.15); color: #10b981; }

/* Download CTA Section */
.download-section {
  text-align: center;
  padding: 120px 0;
  position: relative;
}

.download-box {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.download-box h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.download-box p {
  color: var(--text-sub);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.download-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.store-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.8rem;
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: all var(--transition-smooth);
  text-align: left;
}

.corner-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  font-size: 0.62rem;
  padding: 3px 9px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 5;
}

.store-btn:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.2);
}

.store-btn i {
  font-size: 2.2rem;
  color: var(--primary);
}

.store-btn-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-btn-text strong {
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  background: var(--bg-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand .brand-logo {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin: 0 auto;
  max-width: 340px;
  text-align: center;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;

}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 0.85rem;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--card-color);
  border: 1px solid var(--primary);
  color: var(--text-main);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* FAQ Accordion Section */
.faq-section {
  background: var(--bg-color);
  border-top: 1px solid var(--border-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.2);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  font-size: 1.4rem;
  color: var(--text-sub);
  transition: transform var(--transition-smooth), color var(--transition-fast);
}

.faq-question:hover i {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 2rem;
}

.faq-answer p {
  color: var(--text-sub);
  font-size: 1.02rem;
  line-height: 1.7;
  padding-bottom: 1.5rem;
  margin-bottom: 0;
}

/* FAQ Active State */
.faq-item.active {
  border-color: var(--primary);
  background: rgba(16, 185, 129, 0.02);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ─────────────────────────────────────────────────────────────
   Responsive Design Breakpoints (Tablets & Mobile)
   ───────────────────────────────────────────────────────────── */

/* Tablets & Laptops (< 1024px) */
@media (max-width: 1024px) {
  .container {
    width: 92%;
  }

  .hero-grid, .inspiration-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-wrapper img {
    max-width: 360px;
    margin: 0 auto;
  }

  .inspiration-content h2 {
    font-size: 2.2rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }
}

/* Mobile & Small Tablets (< 768px) */
@media (max-width: 768px) {
  .nav-container {
    height: 70px;
  }

  .brand-logo {
    font-size: 1.25rem;
  }

  .brand-logo img {
    width: 30px;
    height: 30px;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  #header-cta {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }

  .navbar {
    z-index: 10000;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-color);
    padding: 100px 2rem 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
    z-index: 9999;
    overflow-y: auto;
  }

  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: inline-block;
    padding: 0.8rem 2rem;
    color: var(--text-main);
    border-bottom: none;
    transition: all var(--transition-fast);
  }

  .nav-links li a:hover,
  .nav-links li a.active {
    color: var(--primary);
    transform: scale(1.05);
  }

  /* Hide desktop top bar buttons on mobile screen */
  .nav-actions #header-cta,
  .nav-actions #theme-toggle {
    display: none;
  }

  .mobile-menu-actions {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
  }

  .mobile-theme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 85%;
    max-width: 300px;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--card-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .mobile-cta-btn {
    width: 85%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-section {
    padding: 110px 0 50px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.9rem;
  }

  .demo-widgets-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
  }

  .preview-card {
    padding: 1.2rem;
    border-radius: 18px;
    width: 100%;
    box-sizing: border-box;
  }

  .preview-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .demo-sort-selector {
    width: 100%;
    font-size: 0.85rem;
  }

  .demo-task-item {
    padding: 0.85rem 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .demo-task-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
  }

  .demo-task-title {
    font-size: 0.88rem;
    word-break: break-word;
  }

  .demo-chip {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
    white-space: nowrap;
    margin-left: auto;
  }

  .download-box {
    padding: 2.5rem 1.25rem;
    border-radius: 20px;
  }

  .download-box h2 {
    font-size: 2rem;
  }

  .download-box p {
    font-size: 0.95rem;
  }

  .download-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .store-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.85rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand p {
    margin: 1rem auto 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem 1.2rem;
    font-size: 0.88rem;
  }
}

/* Small Phones (< 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.5rem;
  }

  .stat-item h4 {
    font-size: 1.25rem;
  }

  .stat-item p {
    font-size: 0.7rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .inspiration-badge-grid {
    grid-template-columns: 1fr;
  }
}
