/*
  @file styles.css
  @description Global stylesheet for the Privvy Password Manager application.
  This file defines the visual styling, layout, and animations for all pages
  in the application. It implements a responsive design system with both light
  and dark themes.

  Key Features:
  - Custom color scheme with light/dark mode support
  - Responsive layout using CSS Grid and Flexbox
  - Smooth animations and transitions
  - Consistent typography using Inter and Poppins fonts
  - Reusable components (buttons, cards, forms)
  - Modern visual effects (shadows, glows, gradients)
*/

/* Import custom fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;700&display=swap');

/* CSS Custom Properties (Variables) for theming */
/* Import Privvy brand fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* CSS Variables for consistent design system */
:root {
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Font weights */
  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  
  /* Font sizes - fluid scale */
  --text-xs: clamp(0.75rem, 0.5vw + 0.65rem, 0.875rem);
  --text-sm: clamp(0.875rem, 0.5vw + 0.775rem, 1rem);
  --text-base: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  --text-lg: clamp(1.125rem, 0.75vw + 1rem, 1.25rem);
  --text-xl: clamp(1.25rem, 1vw + 1.1rem, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.5vw + 1.2rem, 2rem);
  --text-3xl: clamp(2rem, 2vw + 1.5rem, 2.75rem);
  
  /* Form sizing - modern and sleek */
  --form-width: 360px;
  --form-padding: 1.75rem;
  --form-gap: 0.75rem;
  --input-height: 2.5rem;
  --input-padding: 0.65rem 0.9rem;
  --input-border-radius: 0.625rem;
  --button-height: 2.5rem;
  
  /* Colors - enhanced */
  --color-text-primary: #1a202c;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-border: rgba(198, 164, 240, 0.12);
  --color-border-focus: rgba(139, 124, 240, 0.4);
  --color-background: #ffffff;
  --color-surface: rgba(255, 255, 255, 0.95);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #8b7cf0 0%, #6c63ff 100%);
  --gradient-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
  
  /* Shadows - refined */
  --shadow-form: 0 8px 32px rgba(139, 124, 240, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-input: 0 2px 8px rgba(139, 124, 240, 0.04);
  --shadow-button: 0 4px 16px rgba(139, 124, 240, 0.2);
  
  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3rem;
  
  /* Legacy variables - keeping for compatibility */
  --gradient-bg: linear-gradient(135deg, #f6f6ff 0%, #eae6fa 60%, #f7eaf3 100%);
  --gradient-btn: linear-gradient(90deg, #b6aef7 0%, #d7c8f7 60%, #f7eaf3 100%);
  --gradient-btn-hover: linear-gradient(90deg, #d7c8f7 0%, #f7eaf3 100%);
  --text: #22223b;
  --text-light: #fff;
  --card: rgba(255,255,255,0.82);
  --card-dark: rgba(36, 24, 54, 0.12);
  --shadow: 0 2px 12px rgba(139,124,240,0.08);
  --radius: 1.25rem;
  --blur: 8px;
  --transition: 0.3s cubic-bezier(.77,0,.18,1);
  
  /* Link colors */
  --color-link: #6c63ff;
  --color-link-hover: #8b7cf0;
  --color-primary: #8b7cf0;
}

/* Dark mode variables */
body.dark {
  --color-text-primary: #f7fafc;
  --color-text-secondary: #e2e8f0;
  --color-text-muted: #a0aec0;
  --color-border: rgba(139, 124, 240, 0.15);
  --color-border-focus: rgba(139, 124, 240, 0.5);
  --color-background: #1a202c;
  --color-surface: rgba(26, 32, 44, 0.95);
  --gradient-surface: linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.98) 100%);
  --gradient-bg: linear-gradient(135deg, #181a20 0%, #232946 100%);
  --shadow-form: 0 8px 32px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(139, 124, 240, 0.1);
  --shadow-input: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-button: 0 4px 16px rgba(139, 124, 240, 0.3);
  --color-link: #a78bfa;
  --color-link-hover: #c4b5fd;
}

/* Force dark backgrounds on all elements */
html.dark,
body.dark {
  background: linear-gradient(135deg, #181a20 0%, #232946 100%) !important;
}

html, body {
  height: 100%;
  font-family: var(--font-body);
  font-weight: var(--weight-normal);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-background);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}

body {
  background: var(--gradient-bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.6s cubic-bezier(.77,0,.18,1), color 0.6s cubic-bezier(.77,0,.18,1);
  opacity: 0;
  animation: pageLoad 0.8s ease-out forwards;
}

@keyframes pageLoad {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(.77,0,.18,1), transform 0.6s cubic-bezier(.77,0,.18,1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
body.dark {
  background: linear-gradient(135deg, #181a20 0%, #232946 100%);
  color: #f3f6fa;
}

/* Ensure main sections have proper dark backgrounds */
body.dark main {
  background: transparent;
}

body.dark .hero {
  background: transparent;
}

body.dark .features-grid {
  background: transparent;
}

body.dark .screenshot-section {
  background: transparent;
}

main {
  flex: 1 0 auto;
}

.header {
	width: 100%;
	padding: 2rem 0 0 0;
	background: transparent;
}
.navbar {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2rem;
}
.logo {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 1px;
	display: flex;
	align-items: center;
	gap: 0.5em;
}
.theme-toggle {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--accent);
	transition: color var(--transition);
}
body.dark .theme-toggle {
	color: var(--accent-light);
}

.hero {
	max-width: 500px;
	margin: 2rem auto 1rem auto;
	text-align: center;
	padding: 1rem;
}
.hero-title {
  color: #22223b;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
  text-shadow: none;
}
.accent {
  color: #8B7CF0;
  font-weight: 700;
}
.hero-tagline {
	font-size: 1rem;
	color: var(--text);
	opacity: 0.8;
	margin-bottom: 1rem;
}
body.dark .hero-title {
  color: #f3f6fa;
  text-shadow: 0 2px 8px #8B7CF0;
  background: none;
  border-radius: 0;
  padding: 0;
  display: block;
}
body.dark .hero-tagline {
  color: #e0e6f7;
  text-shadow: 0 1px 4px #8B7CF0;
  background: none;
  border-radius: 0;
  padding: 0;
  display: block;
}
body.dark .accent {
  color: #E0BBD5;
  text-shadow: 0 2px 8px #8B7CF0;
}

/* Brand highlighting for consistent Privvy branding */
.brand-highlight {
  color: #8b7cf0;
  font-weight: 600;
  transition: color 0.3s ease;
}

body.dark .brand-highlight {
  color: #a5b0ff;
  text-shadow: 0 0 8px #8b7cf0;
}
body.dark .glow {
  color: #E0BBD5;
  text-shadow: 0 2px 8px #8B7CF0;
}
.cta-btn, .gradient-btn {
  background: #8B7CF0;
  color: #fff;
  font-weight: 600;
  padding: 0.9em 2.2em;
  border-radius: 2em;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: background 0.5s cubic-bezier(.77,0,.18,1), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  border: none;
  backdrop-filter: blur(var(--blur));
  letter-spacing: 0.02em;
  background-size: 200% 100%;
  background-position: left;
  position: relative;
  overflow: hidden;
}
.cta-btn .gradient-bg, .gradient-btn .gradient-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  border-radius: 2em;
  opacity: 0.7;
  filter: blur(8px);
  transition: background 0.3s, opacity 0.3s;
}
.cta-btn span, .gradient-btn span {
  position: relative;
  z-index: 1;
}
.cta-btn:hover .gradient-bg, .gradient-btn:hover .gradient-bg {
  opacity: 1;
  filter: blur(12px);
}
.cta-btn:hover, .gradient-btn:hover {
  background: linear-gradient(90deg, #8B7CF0 0%, #A18BEA 40%, #C6A4F0 70%, #E0BBD5 100%);
  background-size: 200% 100%;
  background-position: right;
  box-shadow: 0 12px 36px rgba(198,164,240,0.22);
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.08);
}

#getStartedBtn {
  position: relative;
  overflow: hidden;
  outline: none !important;
  box-shadow: none !important;
}
#getStartedBtn .gradient-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  border-radius: 2em;
  opacity: 0.7;
  filter: blur(8px);
  transition: background 0.3s, opacity 0.3s;
}
#getStartedBtn span {
  position: relative;
  z-index: 1;
}
#getStartedBtn:hover .gradient-bg {
  opacity: 1;
  filter: blur(12px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  background: none;
}
.feature-card {
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 16px rgba(139,124,240,0.08);
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 220px;
  word-break: break-word;
  outline: none;
  z-index: 2;
  border: none;
  transition: box-shadow 0.2s, transform 0.2s, background 0.6s cubic-bezier(.77,0,.18,1), color 0.6s cubic-bezier(.77,0,.18,1);
}
.feature-card:hover, .feature-card:focus {
  box-shadow: 0 8px 32px rgba(139,124,240,0.18);
  transform: translateY(-2px) scale(1.03);
}
.feature-card h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15em;
  margin-bottom: 0.2em;
  color: #232946;
  letter-spacing: 0.01em;
  transition: color 0.6s cubic-bezier(.77,0,.18,1);
}
.feature-card p {
  font-family: 'Inter', 'Montserrat', Arial, sans-serif;
  font-size: 0.98em;
  color: #232946;
  opacity: 0.85;
  margin-bottom: 0.2em;
  transition: color 0.6s cubic-bezier(.77,0,.18,1);
}
.feature-card .icon {
  margin-bottom: 0.2em;
  color: #8B7CF0;
  background: none;
  filter: none;
  transition: color 0.6s cubic-bezier(.77,0,.18,1);
}
body.dark .feature-card {
  background: #232946;
  color: #f3f6fa;
  box-shadow: 0 2px 16px rgba(139,124,240,0.18);
}
body.dark .feature-card h2 {
  color: #E0BBD5;
}
body.dark .feature-card p {
  color: #b8b8ff;
}
body.dark .feature-card .icon {
  color: #E0BBD5;
}

.screenshot-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 220px;
	margin: 3rem 0 2rem 0;
}
.screenshot-placeholder {
	width: 340px;
	height: 200px;
	background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.2rem;
	font-weight: 600;
	opacity: 0.8;
	letter-spacing: 1px;
	transition: background 0.6s cubic-bezier(.77,0,.18,1), color 0.6s cubic-bezier(.77,0,.18,1);
}
body.dark .screenshot-placeholder {
  background: linear-gradient(135deg, #232946 0%, #181a20 100%);
  color: #b8b8ff;
}

/* Security Architecture Diagram */
.security-diagram {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.architecture-svg {
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(139,124,240,0.12);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.architecture-svg:hover {
  box-shadow: 0 12px 48px rgba(139,124,240,0.18);
  transform: translateY(-4px);
}

/* Dark mode styling for the diagram */
body.dark .architecture-svg {
  background: rgba(35,41,70,0.9);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

body.dark .architecture-svg:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

/* Dark mode text colors for inline SVG */
body.dark .architecture-svg text {
  fill: #f3f6fa;
}

body.dark .architecture-svg text[fill="#232946"] {
  fill: #f3f6fa !important;
}

body.dark .architecture-svg text[fill="#718096"] {
  fill: #b8b8ff !important;
}

/* Dark mode card backgrounds */
body.dark .architecture-svg rect[fill="url(#cardGrad)"] {
  fill: rgba(35,41,70,0.8);
  stroke: rgba(139,124,240,0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .security-diagram {
    padding: 0 0.5rem;
  }
  
  .architecture-svg {
    border-radius: 0.8rem;
  }
}

.footer {
  width: 100%;
  padding: 2.5rem 0 1.2rem 0;
  background: var(--card);
  color: var(--text);
  font-size: 1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  margin-top: 3rem;
  border-top-left-radius: 2em;
  border-top-right-radius: 2em;
  flex-shrink: 0;
  backdrop-filter: blur(var(--blur));
  border: 1.5px solid rgba(198,164,240,0.10);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
  gap: 1.2em;
}
.footer-brand {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  color: #8b7cf0;
  margin-bottom: 0.2em;
}
.footer-links {
  display: flex;
  gap: 1.2em;
  margin-bottom: 0.2em;
}
.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b7cf0;
  background: none;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  padding: 0.3em;
}
.footer-icon:hover {
  background: #ececf6;
  color: #6c63ff;
}
.footer-copy {
  color: #232946;
  font-size: 0.98em;
  margin-top: 0.2em;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .footer-content {
    padding: 0 1em;
    gap: 1em;
  }
  .footer-brand {
    font-size: 1em;
  }
  .footer-copy {
    font-size: 0.92em;
  }
}
body.dark .main-footer {
  background: #232946;
  border-top: 1px solid #232946;
}
body.dark .footer-content {
  color: #b8b8ff;
}
body.dark .footer-brand {
  color: #b8b8ff;
}
body.dark .footer-icon {
  color: #b8b8ff;
}
body.dark .footer-icon:hover {
  background: #232946;
  color: #8b7cf0;
}
body.dark .footer-copy {
  color: #b8b8ff;
}

/* Dark mode styles for header and navigation */
body.dark .main-header {
  background: transparent;
}

body.dark .main-heading {
  color: #f3f6fa;
}

body.dark .privvy-link {
  color: #f3f6fa;
}

body.dark .profile-btn {
  color: #f3f6fa;
}

body.dark .profile-btn:hover {
  background: rgba(139, 124, 240, 0.2);
}

body.dark .profile-dropdown {
  background: rgba(24, 26, 32, 0.95);
  border: 1px solid rgba(139, 124, 240, 0.2);
}

body.dark .profile-dropdown a {
  color: #f3f6fa;
}

body.dark .profile-dropdown a:hover {
  background: rgba(139, 124, 240, 0.1);
}

body.dark #menu-btn {
  color: #f3f6fa;
}

body.dark #menu-btn:hover {
  background: rgba(139, 124, 240, 0.2);
}

body.dark .menu-icon,
body.dark .menu-icon::before,
body.dark .menu-icon::after {
  background: #f3f6fa;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1.2em;
}

.login-btn {
  display: inline-block;
  background: var(--gradient-btn);
  color: var(--text);
  font-weight: 600;
  padding: 0.55em 1.5em;
  border-radius: 2em;
  font-size: 1rem;
  box-shadow: var(--shadow);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  margin-right: 0.5em;
  border: none;
  backdrop-filter: blur(var(--blur));
}
.login-btn:hover {
  background: var(--gradient-btn-hover);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(198,164,240,0.10);
  filter: none;
}

/* Modern Privvy Form System */
.account-form {
  max-width: var(--form-width);
  margin: var(--space-xl) auto var(--space-2xl) auto;
  background: var(--gradient-surface);
  border-radius: var(--input-border-radius);
  box-shadow: var(--shadow-form);
  padding: var(--form-padding);
  display: flex;
  flex-direction: column;
  gap: var(--form-gap);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.account-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--input-border-radius) var(--input-border-radius) 0 0;
}

.account-form .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  position: relative;
  margin-bottom: 0;
}

.account-form label {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.01em;
}

.account-form input {
  height: var(--input-height);
  padding: var(--input-padding);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-normal);
  color: var(--color-text-primary);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--input-border-radius);
  outline: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-input);
}

.account-form input::placeholder {
  color: var(--color-text-muted);
  font-weight: var(--weight-normal);
  opacity: 0.6;
  font-size: var(--text-sm);
}

.account-form input:focus {
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 2px rgba(139, 124, 240, 0.08), var(--shadow-input);
  transform: translateY(-0.5px);
}

.account-form .cta-btn {
  height: var(--button-height);
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--input-border-radius);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(139, 124, 240, 0.15);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.account-form .cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 124, 240, 0.25);
}

.account-form .cta-btn:active {
  transform: translateY(0);
}

/* Form Error Styles */
.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Multi-step form specific styling */
.account-form .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: 0;
  position: relative;
}

.account-form .form-group input + input {
  margin-top: var(--space-xs);
}

.account-form .greeting {
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  text-align: left;
}

.account-form #password-reqs {
  list-style: none;
  padding: var(--space-sm);
  margin: var(--space-sm) 0;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  text-align: left;
  background: var(--color-background);
  border-radius: var(--input-border-radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-input);
}

.account-form #password-reqs li {
  margin-bottom: var(--space-xs);
  position: relative;
  padding-left: var(--space-sm);
  line-height: 1.4;
}

.account-form #password-reqs li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: var(--weight-bold);
}

.account-form .loader {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  border-top: 2px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: var(--space-md) auto;
}

/* Verification step styling */
.account-form #step-verify p {
  text-align: center;
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

/* Remove oversized styling and make inputs consistent */
.account-form input[type="tel"] {
  width: 100% !important;
  box-sizing: border-box;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form heading and link styling */
.account-form h1 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  text-align: center;
  margin: 0 0 var(--space-md) 0;
  letter-spacing: -0.01em;
}

.account-form p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.account-form a {
  color: var(--color-link);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  transition: color 0.2s ease;
}

.account-form a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}
.account-form .cta-btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* Form error styling */
.form-error {
  color: #e53e3e;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: rgba(254, 178, 178, 0.1);
  border: 1px solid rgba(254, 178, 178, 0.3);
  border-radius: 0.5rem;
  text-align: center;
  display: none;
}
.form-error.show {
  display: block;
}

/* Form shake animation */
.account-form.shake {
  animation: shake 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
body.dark .account-form {
  background: #23262f;
  color: #f3f6fa;
  box-shadow: 0 4px 32px rgba(0,0,0,0.44), 0 1.5px 0 0 #23262f;
  border: 1.5px solid #3a4e8c;
}
body.dark .account-form label {
  color: #e3eeff;
}
body.dark .account-form input,
body.dark .account-form select {
  background: #181a20;
  color: #e3eeff;
  border: 1.5px solid #3a4e8c;
}
body.dark .account-form input:focus,
body.dark .account-form select:focus {
  border-color: #e3eeff;
  background: #23262f;
  box-shadow: 0 0 0 2px #3a4e8c;
}
body.dark .account-form .cta-btn {
  background: #3a4e8c;
  color: #fff;
}
body.dark .account-form .cta-btn:hover {
  background: #e3eeff;
  color: #23262f;
}
body.dark .account-form .cta-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3a4e8c;
}
body.dark .form-error {
  color: #fed7d7;
  background: rgba(254, 178, 178, 0.15);
  border-color: rgba(254, 178, 178, 0.4);
}
@media (max-width: 500px) {
  .account-form {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    border-radius: 1em;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}
.form-group.shake {
  animation: shake 0.35s cubic-bezier(.36,.07,.19,.97) both;
}
@media (max-width: 700px) {
	.hero-title { font-size: 2rem; }
	.features-grid { gap: 1rem; }
	.screenshot-placeholder { width: 98vw; max-width: 340px; }
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1.2em;
    padding: 0 1rem;
  }
  .footer {
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
  }
}

.profile-menu {
  position: relative;
  display: inline-block;
  z-index: 100;
}
.profile-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3em;
  border-radius: 0;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.profile-btn svg {
  transition: filter 0.2s;
  color: inherit;
}
body.dark .profile-btn svg {
  color: #f3f6fa;
  filter: none;
}
body:not(.dark) .profile-btn svg {
  color: #333;
  filter: none;
}
.profile-btn:focus {
  outline: 2px solid #8B7CF0;
}
.profile-btn:hover svg {
  background: none;
}
.profile-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 120%;
  min-width: 140px;
  background: var(--card);
  box-shadow: 0 4px 16px rgba(139,124,240,0.10);
  border-radius: 1em;
  padding: 0.7em 0.5em;
  z-index: 9999;
  flex-direction: column;
  gap: 0.5em;
  transition: opacity 0.2s, transform 0.2s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}
.profile-menu.open .profile-dropdown {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.profile-dropdown a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 0.7em;
  transition: background 0.2s;
  font-weight: 500;
}
.profile-dropdown a:hover {
  background: #eae6fa;
}
body.dark .profile-dropdown {
  background: #232946;
  color: #fff;
}
body.dark .profile-dropdown a {
  color: #fff;
}
body.dark .profile-dropdown a:hover {
  background: #8B7CF0;
  color: #fff;
}
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 1em;
    padding: 0 0.5em;
  }
  .navbar-actions {
    gap: 0.7em;
  }
  .profile-dropdown {
    min-width: 90vw;
    right: auto;
    left: 0;
  }
}

.menu-toggle {
  position: fixed;
  top: 1.2em;
  left: 1.2em;
  z-index: 1200;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg {
  display: block;
}
.side-menu {
  position: fixed;
  top: 0;
  left: -220px;
  width: 220px;
  height: 100vh;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 2px 0 24px rgba(139,124,240,0.18);
  border-radius: 0 18px 18px 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 3em 1em 1em 1em;
  transition: left 0.35s cubic-bezier(.77,0,.18,1), box-shadow 0.2s;
  z-index: 1100;
  border-right: none;
  display: none;
}
.side-menu.open {
  left: 0;
  display: flex;
  box-shadow: 2px 0 32px rgba(139,124,240,0.28);
}
.side-menu .menu-item {
  width: 100%;
  padding: 0.8em 1em;
  margin-bottom: 0.5em;
  border-radius: 12px;
  font-size: 1.1em;
  color: #6c63ff;
  background: linear-gradient(90deg,rgba(139,124,240,0.08),rgba(139,124,240,0.18));
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.side-menu .menu-item:hover {
  background: linear-gradient(90deg,#8b7cf0 40%,#6c63ff 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(139,124,240,0.18);
}
@media (max-width: 600px) {
  .side-menu {
    width: 70vw;
    left: -70vw;
    padding: 2em 0.5em 1em 0.5em;
    border-radius: 0 14px 14px 0;
    display: none;
  }
  .side-menu.open {
    left: 0;
    display: flex;
  }
}
body.dark .side-menu {
  background: rgba(35,41,70,0.92);
  box-shadow: 2px 0 24px rgba(139,124,240,0.28);
}
body.dark .side-menu .menu-item {
  color: #b8b8ff;
  background: linear-gradient(90deg,rgba(139,124,240,0.12),rgba(139,124,240,0.22));
}
body.dark .side-menu .menu-item:hover {
  background: linear-gradient(90deg,#8b7cf0 40%,#6c63ff 100%);
  color: #fff;
  box-shadow: 0 2px 16px rgba(139,124,240,0.28);
}
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2em 2em 0.8em 2em;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 1200;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 1em;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.hamburger {
  display: none !important;
}
.main-footer {
  width: 100%;
  background: #f7f7fa;
  padding: 2em 0 1em 0;
  box-shadow: 0 -2px 16px rgba(139,124,240,0.08);
  border-top: 1px solid #ececf6;
  transition: background 0.6s cubic-bezier(.77,0,.18,1), border-color 0.6s cubic-bezier(.77,0,.18,1);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2em;
  gap: 1.2em;
}
.footer-brand {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  color: #8b7cf0;
  margin-bottom: 0.2em;
}
.footer-links {
  display: flex;
  gap: 1.2em;
  margin-bottom: 0.2em;
}
.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b7cf0;
  background: none;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  padding: 0.3em;
}
.footer-icon:hover {
  background: #ececf6;
  color: #6c63ff;
}
.footer-copy {
  color: #232946;
  font-size: 0.98em;
  margin-top: 0.2em;
  letter-spacing: 0.01em;
}
@media (max-width: 600px) {
  .footer-content {
    padding: 0 1em;
    gap: 1em;
  }
  .footer-brand {
    font-size: 1em;
  }
  .footer-copy {
    font-size: 0.92em;
  }
}
body.dark .main-footer {
  background: #232946;
  border-top: 1px solid #232946;
}
body.dark .footer-content {
  color: #b8b8ff;
}
body.dark .footer-brand {
  color: #b8b8ff;
}
body.dark .footer-icon {
  color: #9ca3af;
}
body.dark .footer-icon:hover {
  color: #8b7cf0;
}
body.dark .footer-copy {
  color: #b8b8ff;
}

.main-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5em;
  color: #8b7cf0;
  letter-spacing: 0.02em;
  margin: 0;
}

/* Updated footer text links */
.footer-text-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: #718096;
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
  padding: 0.4em 0.8em;
  border-radius: 0.5rem;
}

.footer-text-link:hover {
  color: #8b7cf0;
}

body.dark .footer-text-link {
  color: #a0aec0;
}

body.dark .footer-text-link:hover {
  color: #c4b5fd;
}

/* Platform/Vault Specific Styles */
.platform-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: calc(100vh - 200px);
}

.vault-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
}

.vault-title h1 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text-primary);
  margin: 0 0 0.5rem 0;
  font-weight: var(--weight-bold);
}

.vault-title p {
  color: var(--color-text-secondary);
  margin: 0;
  font-size: var(--text-base);
}

.vault-actions {
  display: flex;
  gap: 1rem;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--input-border-radius);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.action-btn.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-button);
}

.action-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 124, 240, 0.25);
}

.action-btn.secondary {
  background: var(--color-background);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.action-btn.secondary:hover {
  background: var(--color-surface);
  transform: translateY(-1px);
}

.vault-stats {
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-right: 1rem;
}

/* Search and Filter Controls */
.vault-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

.search-container {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.search-input {
  width: 100%;
  height: 2.75rem;
  padding: 0 1rem 0 2.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--input-border-radius);
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 2px rgba(139, 124, 240, 0.08);
}

.filter-container {
  display: flex;
  gap: 0.75rem;
}

.filter-select {
  height: 2.75rem;
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--input-border-radius);
  outline: none;
  cursor: pointer;
}

.filter-btn {
  height: 2.75rem;
  padding: 0 1rem;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--input-border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: var(--color-surface);
}

/* Security Dashboard */
.security-dashboard {
  margin-bottom: 2rem;
}

.security-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gradient-surface);
  border-radius: var(--input-border-radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-form);
}

.security-metric {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.security-metric i {
  font-size: 2rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.security-metric i.secure {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.security-metric i.warning {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.security-metric i.duplicate {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.security-metric i.old {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
}

.security-metric h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin: 0;
  color: var(--color-text-primary);
}

.security-metric p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

/* Vault Grid */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.vault-item {
  background: var(--gradient-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--input-border-radius);
  padding: 1.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-input);
}

.vault-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-form);
  border-color: var(--color-border-focus);
}

.vault-item-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vault-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.25rem;
}

.vault-item-info h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin: 0 0 0.25rem 0;
  color: var(--color-text-primary);
}

.vault-item-info p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

.vault-item-actions {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.vault-item:hover .vault-item-actions {
  opacity: 1;
}

.vault-action-btn {
  width: 2rem;
  height: 2rem;
  border: none;
  background: rgba(139, 124, 240, 0.1);
  border-radius: 0.375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all 0.2s ease;
}

.vault-action-btn:hover {
  background: rgba(139, 124, 240, 0.2);
  transform: scale(1.05);
}

.vault-item-details {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.vault-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vault-detail-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
}

.vault-detail-value {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-family: monospace;
}

.password-hidden {
  font-family: var(--font-body);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-content i {
  font-size: 4rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

.empty-content h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  margin: 0 0 1rem 0;
}

.empty-content p {
  color: var(--color-text-secondary);
  margin: 0 0 2rem 0;
  font-size: var(--text-base);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--gradient-surface);
  border-radius: var(--input-border-radius);
  box-shadow: var(--shadow-form);
  border: 1px solid var(--color-border);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin: 0;
  color: var(--color-text-primary);
}

.modal-close {
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(139, 124, 240, 0.1);
  color: var(--color-primary);
}

.credential-form {
  padding: 1.5rem;
}

.credential-form .form-group {
  margin-bottom: 1.25rem;
}

.credential-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}

.credential-form input,
.credential-form select,
.credential-form textarea {
  width: 100%;
  height: var(--input-height);
  padding: var(--input-padding);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--input-border-radius);
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.credential-form textarea {
  height: 4rem;
  resize: vertical;
}

.credential-form input:focus,
.credential-form select:focus,
.credential-form textarea:focus {
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 2px rgba(139, 124, 240, 0.08);
}

.password-input-group {
  position: relative;
  display: flex;
}

.password-input-group input {
  padding-right: 5rem;
}

.password-toggle,
.generate-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 2.5rem;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.password-toggle {
  right: 2.5rem;
}

.password-toggle:hover,
.generate-btn:hover {
  color: var(--color-primary);
}

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

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--input-border-radius);
  font-family: var(--font-body);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-button);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 124, 240, 0.25);
}

.btn.secondary {
  background: var(--color-background);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

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

/* Password Generator */
.generator-content {
  padding: 1.5rem;
}

.generated-password {
  position: relative;
  margin-bottom: 2rem;
}

.generated-password input {
  width: 100%;
  height: 3rem;
  padding: 0 3rem 0 1rem;
  font-family: monospace;
  font-size: var(--text-base);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--input-border-radius);
  outline: none;
  box-sizing: border-box;
}

.copy-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: rgba(139, 124, 240, 0.1);
  color: var(--color-primary);
}

.generator-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.option-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.option-group input[type="range"] {
  width: 100%;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  height: auto;
}

.generator-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
  .platform-main {
    padding: 1rem;
  }
  
  .vault-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .vault-actions {
    width: 100%;
    justify-content: flex-start;
  }
  
  .vault-controls {
    flex-direction: column;
    gap: 1rem;
  }
  
  .search-container {
    max-width: none;
  }
  
  .security-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .vault-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }
  
  .modal-actions,
  .generator-actions {
    flex-direction: column;
  }
  
  .btn {
    justify-content: center;
  }
}

.main-footer .footer-brand .main-heading {
  font-size: 1.2em;
}

#menu-btn {
  position: fixed;
  bottom: 2em;
  right: 2em;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8b7cf0 60%, #6c63ff 100%);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(139,124,240,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.menu-icon {
  width: 32px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  display: block;
}
.menu-icon::before, .menu-icon::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  left: 0;
  transition: 0.2s;
}
.menu-icon::before {
  top: -10px;
}
.menu-icon::after {
  top: 10px;
}
#fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, rgba(35,24,54,0.95) 0%, rgba(18,18,30,0.98) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(.77,0,.18,1);
  z-index: 3000;
}
#fullscreen-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.fullscreen-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  width: 100%;
  padding: 2rem;
}
.fullscreen-nav ul li {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(.77,0,.18,1);
}
.fullscreen-nav ul li:nth-child(1) { transition-delay: 0.1s; }
.fullscreen-nav ul li:nth-child(2) { transition-delay: 0.2s; }
.fullscreen-nav ul li:nth-child(3) { transition-delay: 0.3s; }
.fullscreen-nav ul li:nth-child(4) { transition-delay: 0.4s; }
.fullscreen-nav ul li:nth-child(5) { transition-delay: 0.5s; }

#fullscreen-menu.open .fullscreen-nav ul li {
  transform: translateY(0);
  opacity: 1;
}
.fullscreen-nav ul li a {
  display: block;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: white;
  height: 100%;
  box-sizing: border-box;
}
.fullscreen-nav ul li a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(139, 124, 240, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 124, 240, 0.2);
}
.fullscreen-nav ul li a h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: white;
}
.fullscreen-nav ul li a p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 0;
  line-height: 1.5;
}
.return-btn {
  display: block;
  padding: 2rem;
  background: rgba(139, 124, 240, 0.15);
  border: 2px solid rgba(139, 124, 240, 0.3);
  border-radius: 1rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  grid-column: 1 / -1;
  margin-top: 1rem;
}
.return-btn:hover {
  background: rgba(139, 124, 240, 0.25);
  border-color: rgba(139, 124, 240, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 124, 240, 0.3);
}
@media (max-width: 768px) {
  .fullscreen-nav ul {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  .fullscreen-nav ul li a,
  .return-btn {
    padding: 1.5rem;
  }
  .fullscreen-nav ul li a h3 {
    font-size: 1.3rem;
  }
  .fullscreen-nav ul li a p {
    font-size: 0.9rem;
  }
}
@media (max-width: 600px) {
  #menu-btn {
    width: 48px;
    height: 48px;
    bottom: 1em;
    right: 1em;
  }
  .fullscreen-nav ul li a {
    font-size: 1.4em;
    padding: 1em 2.2em;
    min-width: 180px;
  }
}

.privvy-link {
  text-decoration: none;
  color: #8b7cf0;
  transition: color 0.2s, transform 0.2s, background 0.2s;
  display: inline-block;
}
.privvy-link:hover {
  color: #6c63ff;
  transform: scale(1.08);
  background: linear-gradient(90deg, #8b7cf0 40%, #6c63ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}
body.dark .privvy-link:hover {
  color: #fff;
  text-shadow: 0 0 24px #8b7cf0, 0 0 48px #6c63ff;
  background: none;
  -webkit-text-fill-color: unset;
}

/* FAQ Styles */
.faq-category {
    margin-bottom: 3rem;
}

.faq-category .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.faq-question i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 2000px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.faq-answer ul {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-left: 1.5rem;
}

.faq-answer ul li {
    margin-bottom: 0.5rem;
}

.security-explanation {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(80, 200, 120, 0.05));
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.security-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.security-feature strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.code-example {
    margin: 1.5rem 0;
}

.code-example h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.code-comparison {
    display: grid;
    gap: 1rem;
}

.code-block {
    background: var(--dark-bg);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Monaco', 'Menlo', monospace;
}

.code-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.code-block code {
    color: #50c878;
    font-size: 0.9rem;
    word-break: break-all;
}

.security-note {
    display: flex;
    align-items: flex-start;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.security-note.warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.security-note.warning i {
    color: #ffc107;
}

.security-note i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 0.8rem;
    margin-top: 0.2rem;
}

.encryption-specs {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.encryption-item {
    background: var(--background-light);
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
}

.encryption-item h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.privacy-commitment {
    display: flex;
    align-items: center;
    background: rgba(80, 200, 120, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.privacy-commitment i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1rem;
}

.verification-methods {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.verification-item {
    display: flex;
    align-items: flex-start;
    background: var(--background-light);
    border-radius: 8px;
    padding: 1rem;
}

.verification-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.verification-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Navigation Dropdown Separator */
.dropdown-separator {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

/* Responsive Legal Content (Privacy, Terms, etc.) */

/* Security Badges */
.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.security-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 124, 240, 0.3);
}

.security-badge i {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Security Cards Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.security-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 124, 240, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.security-card.featured {
    background: linear-gradient(135deg, rgba(139, 124, 240, 0.1), rgba(198, 164, 240, 0.1));
    border: 1px solid rgba(139, 124, 240, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, #8B7CF0, #C6A4F0, #E0BBD5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(139, 124, 240, 0.3);
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.security-card h3 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.security-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.highlight-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1.5rem;
    color: #22c55e;
    font-size: 0.95rem;
    font-weight: 500;
}

.highlight-box i {
    font-size: 1.2rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background: rgba(139, 124, 240, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 124, 240, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
}

.data-items {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.data-item i {
    font-size: 1.1rem;
}

.data-item.yes i {
    color: #22c55e;
}

.data-item.no i {
    color: #ef4444;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.card-link:hover {
    color: #C6A4F0;
    border-bottom-color: rgba(139, 124, 240, 0.3);
}

/* Standards Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.standard-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.standard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(139, 124, 240, 0.15);
}

.standard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.standard-header i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.standard-header h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.status-badge {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.status-badge.compliant {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.building {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.status-badge.aligned {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.resource-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(139, 124, 240, 0.2);
}

.resource-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #8B7CF0, #C6A4F0, #E0BBD5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(139, 124, 240, 0.3);
}

.resource-icon i {
    font-size: 2.2rem;
    color: white;
}

.resource-card h3 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.resource-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(139, 124, 240, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(139, 124, 240, 0.05);
}

.resource-link:hover {
    background: rgba(139, 124, 240, 0.15);
    transform: translateY(-2px);
}

.resource-link.primary {
    background: linear-gradient(135deg, #8B7CF0, #C6A4F0);
    color: white;
    border-color: transparent;
}

.resource-link.primary:hover {
    background: linear-gradient(135deg, #7A6BDF, #B594DF);
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, rgba(139, 124, 240, 0.1), rgba(198, 164, 240, 0.05));
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #8B7CF0, #C6A4F0, #E0BBD5);
    color: white;
    box-shadow: 0 8px 25px rgba(139, 124, 240, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 124, 240, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Dark mode adjustments */
body.dark .security-badge {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark .security-card,
body.dark .standard-card,
body.dark .resource-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark .cta-section {
    background: linear-gradient(135deg, rgba(139, 124, 240, 0.08), rgba(198, 164, 240, 0.03));
}

/* Responsive Design */
@media (max-width: 768px) {
    .security-badges {
        justify-content: flex-start;
    }
    
    .security-grid,
    .standards-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .security-badge {
        flex: 1;
        justify-content: center;
    }
    
    .security-card,
    .resource-card {
        padding: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Legal Content Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-content h2 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

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

.legal-content ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -0.1rem;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.legal-footer p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-style: italic;
    text-align: center;
}

/* Dark mode legal styles */
body.dark .legal-content h2 {
    border-bottom-color: var(--primary-color);
}

/* Responsive legal content */
@media (max-width: 768px) {
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
}