/* 
 * Noteorious Landing Page Styles
 * Using Rubik font family and custom color scheme
 * Updated to match the actual UI from the screenshot
 */

:root {
  /* Light mode colors */
  --bg-primary-light: #ffffff;
  --bg-secondary-light: #f8f9fa;
  --text-primary-light: #121212;
  --text-secondary-light: #4a5568;
  --accent-primary-light: #6b46c1;
  --accent-secondary-light: #805ad5;
  --accent-tertiary-light: #9f7aea;
  --border-light: #e2e8f0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  
  /* Dark mode colors - updated to match screenshot */
  --bg-primary-dark: #121212;
  --bg-secondary-dark: #1e1e1e;
  --text-primary-dark: #e2e8f0;
  --text-secondary-dark: #a0aec0;
  --accent-primary-dark: #805ad5; /* Purple from screenshot */
  --accent-secondary-dark: #6b46c1;
  --accent-tertiary-dark: #9f7aea; /* Lighter purple */
  --border-dark: #2d2d2d;
  --shadow-dark: rgba(0, 0, 0, 0.3);
  
  /* Default to light mode */
  --bg-primary: var(--bg-primary-light);
  --bg-secondary: var(--bg-secondary-light);
  --text-primary: var(--text-primary-light);
  --text-secondary: var(--text-secondary-light);
  --accent-primary: var(--accent-primary-light);
  --accent-secondary: var(--accent-secondary-light);
  --accent-tertiary: var(--accent-tertiary-light);
  --border: var(--border-light);
  --shadow: var(--shadow-light);
  
  /* Animation speeds */
  --transition-speed: 0.3s;
}

/* Dark mode class applied to body */
body.dark {
  --bg-primary: var(--bg-primary-dark);
  --bg-secondary: var(--bg-secondary-dark);
  --text-primary: var(--text-primary-dark);
  --text-secondary: var(--text-secondary-dark);
  --accent-primary: var(--accent-primary-dark);
  --accent-secondary: var(--accent-secondary-dark);
  --accent-tertiary: var(--accent-tertiary-dark);
  --border: var(--border-dark);
  --shadow: var(--shadow-dark);
}

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

/* Custom scrollbar styling to match dark theme */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Hide scrollbars in demo sections but keep functionality */
.feature-demo {
  scrollbar-width: none; /* Firefox */
}

.feature-demo::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--accent-secondary);
}

/* Typography - updated to match screenshot */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

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

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(90deg, #9f7aea, #4c51bf, #9f7aea);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textGlow 3s linear infinite;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-primary);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  margin-right: 1rem;
}

.logo-container h1 {
  font-size: 2rem;
  font-weight: 600;
  background: linear-gradient(90deg, #9f7aea, #4c51bf, #9f7aea);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textGlow 3s linear infinite;
  margin: 0;
  display: flex;
  align-items: center;
  line-height: 1;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition-speed);
}

nav ul li a:hover {
  color: var(--accent-primary);
}

/* Theme toggle button */
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color var(--transition-speed);
}

#theme-toggle:hover {
  background-color: var(--bg-secondary);
}

#theme-toggle svg {
  width: 24px;
  height: 24px;
}

body:not(.dark) .moon {
  display: block;
}

body:not(.dark) .sun {
  display: none;
}

body.dark .moon {
  display: none;
}

body.dark .sun {
  display: block;
}

/* Hero section - updated to match screenshot */
.hero {
  padding: 10rem 0 6rem;
  background-color: var(--bg-primary);
  opacity: 1;
  transform: translateY(0);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Supercharged electric glow effect */
.hero-content h1 .gradient-text {
  position: relative;
  background: linear-gradient(90deg, #b794f4, #553c9a, #00b4ff, #b794f4);
  background-size: 300% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textGlow 3s linear infinite;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.4);
  z-index: 2;
  display: inline-block;
  font-weight: 800;
}

/* Remove the before pseudo-element that was causing blur */
.hero-content h1 .gradient-text::before {
  display: none;
}

.hero-content h1 .gradient-text::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(90deg, 
    rgba(159, 122, 234, 0.4), 
    rgba(0, 180, 255, 0.4), 
    rgba(159, 122, 234, 0.4));
  background-size: 200% auto;
  border-radius: 10px;
  z-index: -1;
  animation: moveGradient 3s ease infinite;
  filter: blur(8px);
}

@keyframes moveGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes textGlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Dashboard Demo */
.dashboard-demo {
  width: 100%;
  max-width: 500px;
  height: 400px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
}

.dashboard-demo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg-secondary));
  pointer-events: none;
}

.dashboard-ui {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-title {
  font-size: 1.75rem;
  font-weight: 700;
}

.app-title .gradient-text {
  background: linear-gradient(45deg, #805ad5 30%, #d53f8c 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 3s infinite alternate;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  width: 250px;
  border: 1px solid var(--border);
}

.search-bar input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 100%;
  font-size: 0.9rem;
  outline: none;
}

.search-icon {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  max-height: calc(100% - 60px);
  padding-bottom: 1rem;
  overflow: visible;
}

/* Note card styling - updated to match actual UI */
.note-card {
  background-color: var(--bg-primary);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 150px;
  border: none;
  border-left: 4px solid;
  border-left-color: #9c27b0; /* Default purple border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.note-card:nth-child(1) {
  border-left-color: #9c27b0; /* Purple */
}

.note-card:nth-child(2) {
  border-left-color: #2196f3; /* Blue */
}

.note-card:nth-child(3) {
  border-left-color: #4caf50; /* Green */
}

.note-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.note-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
}

.note-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.note-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background-color: var(--accent-primary);
  color: white;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

/* Editor Demo - updated to match actual UI from screenshot */
.editor-demo {
  width: 100%;
  max-width: 500px;
  height: 450px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow);
  position: relative;
}

.editor-demo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--bg-secondary));
  pointer-events: none;
}

.editor-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
}

.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.note-title {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  width: 70%;
  padding: 0.25rem 0;
  outline: none;
}

.editor-actions {
  display: flex;
  gap: 0.5rem;
}

.editor-action {
  background: none;
  border: none;
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.editor-action:hover {
  background-color: var(--bg-primary);
}

.editor-action svg {
  width: 18px;
  height: 18px;
}

/* Formatting toolbar - moved to top */
.formatting-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: var(--bg-primary);
  border-radius: 8px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  overflow-x: auto;
}

.format-btn, .size-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-speed);
  font-size: 0.85rem;
}

.format-btn:hover, .size-btn:hover {
  background-color: var(--bg-secondary);
}

.size-btn.active {
  color: var(--accent-primary);
  background-color: rgba(128, 90, 213, 0.1);
}

.toolbar-divider {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin: 0 0.25rem;
  opacity: 0.7;
}

.color-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #805ad5 0%, #d53f8c 100%);
  margin: 0 0.25rem;
}

.color-picker-btn, .download-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.color-picker-btn:hover, .download-btn:hover {
  background-color: var(--bg-secondary);
}

.color-picker-btn svg, .download-btn svg {
  width: 16px;
  height: 16px;
}

.editor-mode-toggle {
  display: flex;
  margin-left: auto;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.mode-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.mode-btn.active {
  background-color: var(--accent-primary);
  color: white;
}

/* Editor content area */
.editor-content {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
  position: relative;
}

.typing-animation {
  min-height: 200px;
}

.typing-animation p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-line {
  position: relative;
}

.cursor-line::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 18px;
  background-color: var(--accent-primary);
  display: inline-block;
  margin-left: 2px;
  animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Auto-save notification */
.auto-save-notification {
  position: absolute;
  display: flex !important;
  opacity: 1 !important;
  align-items: center;
  right: 70px;
  top: 16px;
  background: rgba(40, 40, 50, 0.85);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  gap: 6px;
  z-index: 200;
}

.save-time {
  font-size: 0.6rem;
  opacity: 0.8;
  text-align: center;
}

/* AI Indexing notification */
.ai-indexing-notification {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(128, 90, 213, 0.15);
  color: var(--accent-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  z-index: 10;
}

.ai-indexing-notification svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-primary);
}

/* Tag container */
.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-top: 1px solid var(--border);
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  justify-content: center;
  z-index: 15;
  background-color: var(--bg-secondary);
  padding-bottom: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  border-radius: 50px;
  font-size: 0.75rem;
  transition: all var(--transition-speed);
  opacity: 0;
}

.tag:first-child {
  margin-left: 0.5rem;
}

.tag:last-child {
  margin-right: 0.5rem;
}

.tag:hover {
  background-color: var(--accent-primary);
  color: white;
}

.tag.ai-suggested {
  background-color: rgba(128, 90, 213, 0.15);
  color: var(--accent-primary);
  border: 1px dashed var(--accent-primary);
  padding: 0.25rem 1.5rem; /* Increased horizontal padding even more */
  z-index: 20;
  position: relative;
}

.tag.ai-suggested:hover {
  background-color: var(--accent-primary);
  color: white;
  border: 1px solid var(--accent-primary);
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0.7; }
}

/* Auto-save indicator */
.auto-save-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: var(--bg-primary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  animation: fadeInOut 3s forwards;
}

.save-time {
  font-size: 0.7rem;
  opacity: 0.7;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0.5; }
}

/* Password Manager UI - updated to match actual UI */
.password-manager-ui {
  width: 100%;
  max-width: 500px;
  height: 400px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
}

.password-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-primary);
}

.password-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.password-title h4 {
  margin: 0;
  font-size: 1.1rem;
}

.encryption-label {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background-color: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border-radius: 4px;
  font-weight: 500;
}

.password-search {
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
}

.password-search input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 100%;
  font-size: 0.9rem;
  outline: none;
}

.password-list {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow-y: auto;
  flex: 1;
  background-color: var(--bg-secondary);
}

.password-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.75rem;
  background-color: var(--bg-primary);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.password-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.password-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.password-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.password-details {
  flex: 1;
  min-width: 0;
  margin-right: 0.5rem;
}

.password-details h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.password-details p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.password-strength {
  height: 4px;
  width: 100%;
  background-color: var(--bg-secondary);
  border-radius: 2px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 70%;
}

.strength-bar.strong {
  width: 85%;
  background-color: #4caf50; /* Strong - Green */
}

.strength-bar.moderate {
  width: 60%;
  background-color: #ffcc00; /* Moderate - Yellow */
}

.strength-bar.weak {
  width: 40%;
  background-color: #ff8800; /* Weak - Orange */
}

.password-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.password-action {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.password-action:hover {
  background-color: var(--bg-secondary);
}

.password-action svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-secondary);
}

.feature-badges {
  display: flex;
  gap: 5px;
  margin-right: 0.5rem;
}

.feature-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-badge.encryption {
  background-color: var(--accent-primary);
}

.feature-badge.auto-account {
  background-color: #4caf50;
}

.feature-badge svg {
  width: 12px;
  height: 12px;
  stroke: white;
}

.password-footer {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background-color: var(--bg-primary);
}

.add-password-btn, .generate-password-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.add-password-btn {
  background-color: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.add-password-btn svg {
  stroke: white;
}

.generate-password-btn:hover {
  background-color: var(--bg-secondary);
}

.add-password-btn svg, .generate-password-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-secondary);
}

/* AI Drafting UI */
.ai-drafting-ui {
  width: 100%;
  max-width: 500px;
  height: 400px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
}

.ai-drafting-ui::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg-secondary));
  pointer-events: none;
}

.ai-prompt-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ai-prompt-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.ai-prompt-header h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-prompt-header h4::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.ai-prompt-input {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.ai-prompt-input input {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
}

.generate-btn {
  background-color: var(--accent-primary);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0.75rem;
  transition: background-color 0.2s;
}

.generate-btn:hover {
  background-color: var(--accent-secondary);
}

.generate-btn svg {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: white;
}

.ai-response {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.ai-thinking {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.dot-typing {
  position: relative;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 9984px 0 0 0 var(--accent-primary), 9999px 0 0 0 var(--accent-primary), 10014px 0 0 0 var(--accent-primary);
  animation: dotTyping 1.5s infinite linear;
}

.draft-result {
  background-color: var(--bg-primary);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--border);
}

.draft-result p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.ai-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: flex-end;
}

.ai-action {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.ai-action:hover {
  background-color: var(--bg-secondary);
}

/* Backup Demo - Updated */
.backup-demo {
  width: 100%;
  max-width: 500px;
  height: 400px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.backup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-primary);
}

.backup-header h4 {
  margin: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
}

.status-indicator.connected {
  background-color: #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.status-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4caf50;
}

.account-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-primary);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.user-details {
  flex: 1;
}

.user-email {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 0.25rem 0;
}

.last-sync {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
}

.backup-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.backup-btn, .restore-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.backup-btn.active {
  background-color: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.backup-btn.active svg {
  stroke: white;
}

.backup-btn svg, .restore-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-secondary);
}

.sync-settings {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.setting-item:last-child {
  margin-bottom: 0;
}

.setting-label {
  font-size: 0.85rem;
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent-primary);
}

input:checked + .slider:before {
  transform: translateX(16px);
}

.sync-status {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.sync-status h5 {
  font-size: 0.9rem;
  margin: 0 0 0.75rem 0;
  color: var(--text-secondary);
}

.sync-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sync-item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 4px;
  background-color: var(--bg-primary);
  font-size: 0.8rem;
}

.sync-file {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sync-time {
  margin: 0 0.5rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.sync-badge {
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
}

.sync-badge.success {
  background-color: rgba(76, 175, 80, 0.2);
  color: #4caf50;
}

.sync-badge.syncing {
  background-color: rgba(128, 90, 213, 0.2);
  color: var(--accent-primary);
  animation: pulse 2s infinite;
}

/* Animations */
@keyframes textGlow {
  0% {
    text-shadow: 0 0 5px rgba(128, 90, 213, 0.3);
  }
  50% {
    text-shadow: 0 0 15px rgba(213, 63, 140, 0.5);
  }
  100% {
    text-shadow: 0 0 5px rgba(128, 90, 213, 0.3);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(128, 90, 213, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(128, 90, 213, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(128, 90, 213, 0);
  }
}

@keyframes dotTyping {
  0% {
    box-shadow: 9984px 0 0 0 var(--accent-primary), 9999px 0 0 0 var(--accent-primary), 10014px 0 0 0 var(--accent-primary);
  }
  16.667% {
    box-shadow: 9984px -10px 0 0 var(--accent-primary), 9999px 0 0 0 var(--accent-primary), 10014px 0 0 0 var(--accent-primary);
  }
  33.333% {
    box-shadow: 9984px 0 0 0 var(--accent-primary), 9999px 0 0 0 var(--accent-primary), 10014px 0 0 0 var(--accent-primary);
  }
  50% {
    box-shadow: 9984px 0 0 0 var(--accent-primary), 9999px -10px 0 0 var(--accent-primary), 10014px 0 0 0 var(--accent-primary);
  }
  66.667% {
    box-shadow: 9984px 0 0 0 var(--accent-primary), 9999px 0 0 0 var(--accent-primary), 10014px 0 0 0 var(--accent-primary);
  }
  83.333% {
    box-shadow: 9984px 0 0 0 var(--accent-primary), 9999px 0 0 0 var(--accent-primary), 10014px -10px 0 0 var(--accent-primary);
  }
  100% {
    box-shadow: 9984px 0 0 0 var(--accent-primary), 9999px 0 0 0 var(--accent-primary), 10014px 0 0 0 var(--accent-primary);
  }
}

/* Responsive styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero .container {
    flex-direction: column;
    gap: 2rem;
  }
  
  /* Update feature card responsive behavior */
  .feature-card,
  .feature-card.reverse {
    flex-direction: column;
    gap: 2rem;
  }
  
  /* Ensure content always appears before demo on mobile */
  .feature-card.reverse .feature-content {
    order: 1;
  }
  
  .feature-card.reverse .feature-demo {
    order: 2;
  }
  
  .hero-content,
  .feature-content,
  .feature-demo {
    flex: none;
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Fix the theme toggle position on mobile */
  #theme-toggle {
    position: absolute;
    top: 1rem;
    right: 2rem;
  }

  /* Ensure the theme toggle icons display properly */
  #theme-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    margin-left: auto;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--bg-primary);
    padding: 1rem 0;
  }

  .menu-toggle.active + nav ul {
    display: flex;
  }

  .hero {
    padding: 6rem 0 4rem;
    margin-top: 80px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-content p {
    text-align: center;
  }

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

  .btn {
    width: 100%;
  }

  section {
    padding: 4rem 0;
  }
  
  .feature-card {
    margin-bottom: 4rem;
  }
  
  /* Adjust FVTAL logo section for mobile */
  .protected-by-section {
    position: static;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: auto;
  }
  
  footer .container {
    padding-bottom: 1rem;
  }
}

/* Section animations and layout - updated to prevent fading */
.section-animate {
  opacity: 1;
  transform: translateY(0);
}

.section-alt {
  background-color: var(--bg-secondary);
}

section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Feature card styling - updated for proper alternation */
.feature-card {
  display: flex;
  align-items: center; /* Center vertically */
  gap: 4rem;
  margin-bottom: 6rem;
  transition: flex-direction 0.3s ease;
  flex-direction: row; /* Explicitly set default direction */
}

.feature-card:last-child {
  margin-bottom: 0;
}

/* Explicitly set the direction for reverse cards */
.feature-card.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
}

.feature-content h3 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.feature-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.feature-content ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.feature-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.feature-content ul li::before {
  content: '•';
  color: var(--accent-primary);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -0.1rem;
}

.feature-demo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center; /* Center demo vertically */
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Interactive elements */
.card-hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 16px var(--shadow) !important;
}

.action-clicked {
  background-color: var(--accent-primary) !important;
  color: white !important;
}

.action-clicked svg {
  stroke: white !important;
}

.fade-in-demo {
  animation: fadeInUp 1s forwards;
}

/* CTA section */
.cta {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-tertiary) 100%);
  color: white;
  text-align: center;
  padding: 6rem 0;
}

.cta h2 {
  color: white;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.25rem;
}

.cta .btn-primary {
  background-color: white;
  color: var(--accent-primary);
  border-color: white;
}

.cta .btn-primary:hover {
  background-color: transparent;
  color: white;
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-speed);
  cursor: pointer;
}

.btn-primary {
  background-color: #805ad5; /* Match the purple button in screenshot */
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #6b46c1;
  border-color: #6b46c1;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid #2d2d2d; /* Match the border in screenshot */
  border-radius: 4px;
}

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

/* Footer */
footer {
  background-color: var(--bg-secondary);
  padding: 4rem 0 2rem;
}

footer .container {
  position: relative;
  min-height: 8rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  justify-content: center;
}

.footer-logo .logo {
  height: 30px;
  margin-right: 0.75rem;
}

.footer-logo h3 {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-group h4 {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.link-group ul {
  list-style: none;
}

.link-group ul li {
  margin-bottom: 0.75rem;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 1rem; /* Add padding at the bottom */
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  margin-bottom: 0; /* Remove margin since protected-by is now inside */
}

.copyright p {
  margin-bottom: 1.5rem; /* Space between copyright text and protected-by section */
}

/* Protected by section - for FVTAL logos */
.protected-by-section {
  /* Remove absolute positioning */
  position: static;
  color: var(--text-secondary);
  font-size: 0.6rem; /* Increased from 0.5rem to make it more readable */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the content */
  justify-content: center;
  gap: 0.5rem; /* Reduce gap */
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  margin: 0 auto 1.5rem; /* Center horizontally with margin and add bottom margin */
}

.protected-by-logos {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the logo */
}

.fvtal-logo {
  height: 75px; /* Increased from 30px to make the logo more visible */
  transition: opacity var(--transition-speed);
}

.fvtal-link {
  display: inline-block;
  transition: transform var(--transition-speed);
}

.fvtal-link:hover {
  transform: translateY(-2px);
}

/* Show/hide based on theme */
.fvtal-darkmode-logo {
  display: none;
}

body.dark .fvtal-darkmode-logo {
  display: block;
}

body.dark .fvtal-lightmode-logo {
  display: none;
}

body:not(.dark) .fvtal-darkmode-logo {
  display: none;
}

body:not(.dark) .fvtal-lightmode-logo {
  display: block;
}

/* Additional animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress bar animation for backup demo */
.progress-bar {
  height: 8px;
  background-color: var(--bg-primary);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
  width: 100%;
}

.progress {
  height: 100%;
  background-color: var(--accent-primary);
  width: 0;
  transition: width 1s ease-in-out;
}

.files-syncing {
  margin-bottom: 1.5rem;
}

.file {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  background-color: var(--bg-primary);
  transition: all var(--transition-speed);
}

.file-name {
  font-weight: 500;
}

.sync-status {
  color: #10b981;
  font-weight: 500;
}

.file.syncing .sync-status {
  color: var(--accent-primary);
  animation: pulse 2s infinite;
}

/* Responsive styles for feature cards */
@media (max-width: 992px) {
  .feature-card,
  .feature-card.reverse {
    flex-direction: column;
    gap: 2rem;
  }
  
  /* Ensure content always appears before demo on mobile */
  .feature-card .feature-content {
    order: 1;
    flex: none;
    width: 100%;
  }
  
  .feature-card .feature-demo {
    order: 2;
    flex: none;
    width: 100%;
  }
  
  /* Ensure demo components are properly sized */
  .dashboard-demo,
  .editor-demo,
  .password-manager-ui,
  .ai-drafting-ui,
  .backup-demo {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-content,
  .hero-image {
    flex: none;
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
}

/* AI Memory Recall Demo */
.ai-memory-demo {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.memory-search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.memory-search-bar input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.memory-search-bar input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(128, 90, 213, 0.2);
}

.memory-search-bar button {
  background: var(--accent-primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  margin-left: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.memory-search-bar button:hover {
  background: #6b46c1;
}

.memory-search-bar button svg {
  width: 18px;
  height: 18px;
}

.memory-request {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
}

.prompt {
  font-size: 16px;
  color: var(--text-primary);
  margin: 0;
  opacity: 0;
}

.prompt.typing::after {
  content: '|';
  animation: cursorBlink 1s infinite;
}

.memory-response {
  padding: 16px;
  position: relative;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ai-thinking {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.ai-result {
  display: none;
  animation: fadeInUp 0.5s forwards;
}

.response-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.response-content {
  color: var(--text-secondary);
}

.response-content p {
  margin-bottom: 12px;
}

.extracted-info {
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
  position: relative;
  border-left: 3px solid var(--accent-primary);
}

.info-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.info-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  font-family: monospace;
  margin: 0;
}

.copy-button {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.copy-button:hover {
  color: var(--accent-primary);
  background: rgba(128, 90, 213, 0.1);
}

.copy-button svg {
  width: 16px;
  height: 16px;
}

.context-info {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 16px;
}

.open-note-button {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  position: absolute;
  bottom: 12px;
  right: 12px;
}

.open-note-button:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  background-color: rgba(159, 122, 234, 0.1);
}

.copied-message {
  position: absolute;
  top: -30px;
  right: 12px;
  background: var(--accent-primary);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copied-message.show {
  opacity: 1;
}

@keyframes typeText {
  from { width: 0; }
  to { width: 100%; }
}

.typing-effect {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: typeText 2s steps(40, end);
  width: 100%;
}

.beta-tag {
  display: inline-block;
  background-color: #ff3e9a;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.feature-subtext {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  margin-bottom: 8px;
  padding-left: 20px;
  line-height: 1.4;
  font-style: italic;
  max-width: 95%;
}

/* Improved File Extraction Demo styling */
.file-extraction-demo {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 350px;
  position: relative;
  overflow: visible;
  background: rgba(30, 30, 30, 0.6);
  border-radius: 12px;
  padding: 20px;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.drag-animation-container {
  display: block !important;
  position: relative;
  min-height: 240px;
  margin-top: 15px;
}

.draggable-file {
  display: flex !important;
  opacity: 1 !important;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: rgba(60, 60, 70, 0.7);
  border-radius: 8px;
  width: fit-content;
  position: absolute;
  left: 20px;
  transform: translateY(0) !important;
  transition: all 0.3s ease;
  z-index: 20;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.draggable-file.image-file {
  top: 10px;
}

.draggable-file.excel-file {
  top: 70px;
}

/* Auto Save Notification updated to show in top bar */
.auto-save-notification {
  position: absolute;
  display: flex !important;
  opacity: 1 !important;
  align-items: center;
  right: 70px;
  top: 16px;
  background: rgba(40, 40, 50, 0.85);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  gap: 6px;
  z-index: 200;
}

.save-time {
  font-size: 0.6rem;
  opacity: 0.8;
  text-align: center;
}

/* Add AI twinkle icon */
.color-picker-btn.ai-twinkle {
  background: linear-gradient(135deg, #7d6ff9, #47c9d0);
  margin-left: 4px;
  position: relative;
}

.color-picker-btn.ai-twinkle svg {
  stroke: white;
}

.color-picker-btn.ai-twinkle::before {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 6px;
  height: 6px;
  background: #ff7b54;
  border-radius: 50%;
}

/* Update note card styles to match requirements */
.note-card {
  position: relative;
  padding: 15px;
}

.card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.card-action {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  padding: 2px;
  transition: color 0.2s;
}

.card-action:hover {
  color: #ddd;
}

.card-action svg {
  width: 14px;
  height: 14px;
}

.ai-summary {
  font-size: 0.7rem;
  color: #aaa;
  font-style: italic;
  margin-top: 8px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Ensure extraction demo is visible on mobile */
@media (max-width: 768px) {
  .file-extraction-demo {
    display: block !important;
    min-height: 400px;
    margin-top: 20px;
  }
  
  .drag-animation-container {
    min-height: 320px;
  }
  
  .draggable-file.excel-file {
    top: 80px;
  }
} 