/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #64748b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --background-color: #f8fafc;
  --surface-color: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --border-radius: 8px;
  --transition: all 0.2s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-color);
  min-height: 100vh;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.header {
  background: var(--surface-color);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
  position: relative;
}

/* Hamburger Menu Button */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger Menu Active State */
.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  white-space: nowrap;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.logo i {
  font-size: 1.5rem;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.language-selector select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--surface-color);
  color: var(--text-primary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.language-selector select:hover {
  border-color: var(--primary-color);
}

.language-selector select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 2rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.note-container {
  background: var(--surface-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin-bottom: 2rem;
  animation: noteContainerEntrance 0.8s ease-out;
}

@keyframes noteContainerEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.note-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  animation: headerEntrance 1s ease-out 0.2s both;
}

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

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  animation: badgeFloat 3s ease-in-out infinite;
}

.header-badge i {
  font-size: 1rem;
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.note-header h2 {
  font-size: 1.875rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e40af, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.5));
  }
}

.note-header p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.header-decoration {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  margin: 0 auto;
  border-radius: 2px;
  animation: decorationPulse 2s ease-in-out infinite;
}

@keyframes decorationPulse {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(1.2);
    opacity: 0.8;
  }
}

/* Form Styles */
.form-group {
  margin-bottom: 2rem;
  animation: formGroupEntrance 0.8s ease-out 0.4s both;
}

@keyframes formGroupEntrance {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.form-group label i {
  color: var(--primary-color);
  font-size: 1rem;
}

.textarea-container {
  position: relative;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.textarea-container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.form-group textarea {
  width: 100%;
  padding: 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  transition: all 0.3s ease;
  background: transparent;
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.char-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  transition: var(--transition);
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.char-counter {
  text-align: right;
  margin-top: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Options Styles */
.form-options {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 1rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  animation: optionsEntrance 0.8s ease-out 0.6s both;
}

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

.options-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.1);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
}

.options-header i {
  font-size: 1.25rem;
}

.option-group {
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.option-group:hover {
  background: rgba(59, 130, 246, 0.05);
  transform: translateX(5px);
}

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

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  position: relative;
  transition: var(--transition);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.password-input,
.expiration-input {
  margin-top: 0.75rem;
  margin-left: 2rem;
}

.password-input input,
.expiration-input select {
  width: 100%;
  max-width: 300px;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  transition: var(--transition);
}

.password-input input:focus,
.expiration-input select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  min-height: 48px;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background-color: #475569;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Note Link Container */
.note-link-container {
  background: var(--surface-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  text-align: center;
}

.note-link-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--success-color);
  margin-bottom: 0.5rem;
}

.note-link-header p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.note-link-display {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.note-link-display input {
  flex: 1;
  min-width: 300px;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  background: var(--background-color);
  color: var(--text-primary);
}

.note-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.info-item i {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: white;
  margin-top: 4rem;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  animation: footerGlow 3s ease-in-out infinite;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  color: #f8fafc;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.footer-section:hover h4::after {
  width: 50px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-link {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.footer-logo-link:hover {
  transform: scale(1.05);
}

.footer-logo-link:hover .footer-logo i {
  color: #8b5cf6;
}

.footer-brand .footer-logo i {
  font-size: 1.5rem;
  color: #3b82f6;
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.footer-brand .footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.social-link:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.footer-links a:hover {
  color: #3b82f6;
  transform: translateX(5px);
}

.footer-links a::before {
  content: "→";
  color: #3b82f6;
  font-weight: bold;
  opacity: 0;
  transition: all 0.3s ease;
  position: absolute;
  left: -15px;
}

.footer-links a:hover::before {
  opacity: 1;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-bottom p {
  color: #94a3b8;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #3b82f6;
}

.footer-bottom-links .separator {
  color: #64748b;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
    text-align: center;
  }

  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 1.5rem 1rem;
  }

  .footer-bottom {
    padding: 1rem;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--surface-color);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary-color);
  animation: slideIn 0.3s ease-out;
  max-width: 400px;
}

.toast.success {
  border-left-color: var(--success-color);
}

.toast.error {
  border-left-color: var(--error-color);
}

.toast.warning {
  border-left-color: var(--warning-color);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 1rem;
    flex-direction: row;
    text-align: center;
    justify-content: space-between;
    align-items: center;
  }

  /* Show hamburger menu on mobile */
  .hamburger-menu {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface-color);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
  }

  .nav-link:hover {
    background: var(--background-color);
  }

  .language-selector {
    order: 3;
    margin-top: 1rem;
  }

  .main-content {
    padding: 1rem;
  }

  .note-container,
  .note-link-container {
    padding: 1.5rem;
  }

  .note-header h2 {
    font-size: 1.875rem;
  }

  .note-header p {
    font-size: 1rem;
  }

  .note-link-display {
    flex-direction: column;
    align-items: center;
  }

  .note-link-display input {
    min-width: 100%;
    max-width: 100%;
  }

  .note-info {
    flex-direction: column;
    gap: 1rem;
  }

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

  .toast-container {
    left: 1rem;
    right: 1rem;
  }

  .toast {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .note-container,
  .note-link-container {
    padding: 1rem;
  }

  .note-header h2 {
    font-size: 1.25rem;
  }

  .form-options {
    margin-left: 0;
  }

  .password-input,
  .expiration-input {
    margin-left: 0;
  }

  /* Better mobile spacing */
  .header {
    padding: 0.75rem;
  }

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

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

  .hamburger-menu {
    width: 25px;
    height: 20px;
  }

  .hamburger-line {
    height: 2px;
  }

  /* Mobile form improvements */
  .form-group {
    margin-bottom: 1.5rem;
  }

  .textarea-container textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .btn {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  /* Mobile section improvements */
  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-description {
    font-size: 0.9rem;
  }
}

/* RTL Support for Arabic */
[dir="rtl"] .note-link-display {
  flex-direction: row-reverse;
}

[dir="rtl"] .info-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .checkbox-label {
  flex-direction: row-reverse;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #0f172a;
    --surface-color: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --border-color: #000000;
    --text-primary: #000000;
    --text-secondary: #333333;
  }

  .btn-primary {
    border: 2px solid #000000;
  }
}

/* Note Viewer Styles */
.note-viewer {
  min-height: 100vh;
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.note-viewer-container {
  background: var(--surface-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.note-viewer-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.note-content {
  margin: 2rem 0;
  text-align: left;
}

.note-content pre {
  background: var(--background-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  max-height: 400px;
  overflow-y: auto;
}

.password-form {
  margin: 2rem 0;
}

.password-form p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.password-form input {
  width: 100%;
  max-width: 300px;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.password-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.note-actions {
  margin-top: 2rem;
}

/* Note Error Styles */
.note-error {
  min-height: 100vh;
  background: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.note-error-container {
  background: var(--surface-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.note-error-container i {
  font-size: 3rem;
  color: var(--warning-color);
  margin-bottom: 1rem;
}

.note-error-container h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

/* New Home Page Sections Styles */
.info-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  animation: sectionEntrance 1s ease-out both;
}

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

/* Staggered animation for sections */
.how-it-works-section {
  animation-delay: 0.1s;
}

.features-section {
  animation-delay: 0.2s;
}

.faq-section {
  animation-delay: 0.3s;
}

.why-choose-section {
  animation-delay: 0.4s;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title-container {
  position: relative;
  margin-bottom: 1.5rem;
}

.section-title-container h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e40af, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

.title-decoration {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  margin: 0 auto;
  border-radius: 2px;
  animation: decorationPulse 2s ease-in-out infinite;
  position: relative;
}

.title-decoration::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #8b5cf6;
  border-radius: 50%;
  animation: decorationDot 3s ease-in-out infinite;
}

@keyframes decorationDot {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
  animation: descriptionFadeIn 1s ease-out 0.5s both;
}

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

.why-choose-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 4rem 0;
  border-radius: 2rem;
  margin: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.why-choose-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="why-choose-grid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="%23bae6fd" stroke-width="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23why-choose-grid)"/></svg>');
  opacity: 0.15;
  z-index: 0;
  animation: whyChooseGridMove 25s linear infinite;
}

@keyframes whyChooseGridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(15px, 15px);
  }
}

.why-choose-section .section-header {
  position: relative;
  z-index: 1;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
}

.benefit-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.benefit-visual {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  flex-shrink: 0;
}

.benefit-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: benefitIconRotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover .benefit-icon::before {
  opacity: 1;
}

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

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.benefit-badge {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  animation: benefitBadgeShine 3s ease-in-out infinite;
}

@keyframes benefitBadgeShine {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(59, 130, 246, 0.5),
      0 0 20px rgba(59, 130, 246, 0.3);
  }
}

.benefit-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), #1e40af);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.benefit-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.benefits-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* How It Works Section */
.how-it-works-section {
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  padding: 4rem 0;
  border-radius: 2rem;
  margin: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.how-it-works-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="how-it-works-grid" width="12" height="12" patternUnits="userSpaceOnUse"><path d="M 12 0 L 0 0 0 12" fill="none" stroke="%23e2e8f0" stroke-width="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23how-it-works-grid)"/></svg>');
  opacity: 0.2;
  z-index: 0;
  animation: howItWorksGridMove 20s linear infinite;
}

@keyframes howItWorksGridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(12px, 12px);
  }
}

.how-it-works-section .section-header {
  position: relative;
  z-index: 1;
}

.process-steps {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
}

.step-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.step-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 58, 237, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.step-item:hover::before {
  left: 100%;
}

.step-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.step-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
  animation: stepPulse 2s ease-in-out infinite;
  overflow: hidden;
}

.step-number::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: stepRotate 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-item:hover .step-number::before {
  opacity: 1;
}

@keyframes stepPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f8faff, #e8ecff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.step-item:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
  color: #7c3aed;
}

.step-connector {
  width: 4px;
  height: 60px;
  background: linear-gradient(to bottom, var(--primary-color), #7c3aed);
  margin: 1rem 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.step-connector::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: connectorFlow 2s ease-in-out infinite;
}

@keyframes connectorFlow {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

.step-content {
  flex: 1;
  min-width: 0;
}

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

.step-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  background: linear-gradient(135deg, var(--text-primary), #4c1d95);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  animation: stepBadgeShine 3s ease-in-out infinite;
}

@keyframes stepBadgeShine {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.5),
      0 0 20px rgba(16, 185, 129, 0.3);
  }
}

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

.step-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: all 0.3s ease;
  cursor: default;
}

.feature-tag:hover {
  background: rgba(124, 58, 237, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.feature-tag i {
  font-size: 0.875rem;
  opacity: 0.8;
}

.process-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 4rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.summary-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.summary-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.summary-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}

.summary-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
}

.summary-card:hover .summary-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

.summary-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.summary-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* Main Features Section */
.features-section {
  background: linear-gradient(135deg, #f0f2ff 0%, #e8ecff 100%);
  padding: 4rem 0;
  border-radius: 2rem;
  margin: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="features-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e2e8f0" stroke-width="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23features-grid)"/></svg>');
  opacity: 0.2;
  z-index: 0;
  animation: featuresGridMove 30s linear infinite;
}

@keyframes featuresGridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(20px, 20px);
  }
}

.features-section .section-header {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.feature-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
  position: relative;
  overflow: hidden;
}

.feature-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 58, 237, 0.08),
    transparent
  );
  transition: left 0.8s ease;
}

.feature-item:hover::before {
  left: 100%;
}

.feature-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  position: relative;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.2rem;
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: featureIconRotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover .feature-icon::before {
  opacity: 1;
}

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

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 45px rgba(124, 58, 237, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.feature-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  animation: featureBadgeShine 3s ease-in-out infinite;
}

@keyframes featureBadgeShine {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.5),
      0 0 20px rgba(16, 185, 129, 0.3);
  }
}

.feature-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), #4c1d95);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(124, 58, 237, 0.15);
  transition: all 0.3s ease;
  cursor: default;
}

.highlight-tag:hover {
  background: rgba(124, 58, 237, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
}

.highlight-tag i {
  font-size: 0.875rem;
  opacity: 0.8;
}

.features-summary {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 4rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.summary-highlight {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.summary-highlight.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.summary-highlight:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3);
}

.highlight-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.summary-highlight:hover .highlight-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

.highlight-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.highlight-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  padding: 4rem 0;
  border-radius: 2rem;
  margin: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faq-grid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="%23e2e8f0" stroke-width="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-grid)"/></svg>');
  opacity: 0.2;
  z-index: 0;
  animation: faqGridMove 25s linear infinite;
}

@keyframes faqGridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(15px, 15px);
  }
}

.faq-section .section-header {
  position: relative;
  z-index: 1;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.faq-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.faq-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 58, 237, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.faq-item:hover::before {
  left: 100%;
}

.faq-question {
  padding: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: all 0.4s ease;
  position: relative;
}

.faq-question:hover {
  background: rgba(124, 58, 237, 0.03);
}

.faq-question-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.faq-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item:hover .faq-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(124, 58, 237, 0.4);
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.3s ease;
}

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

.faq-toggle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f8faff, #e8ecff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item:hover .faq-toggle {
  background: linear-gradient(135deg, var(--primary-color), #7c3aed);
  color: white;
  transform: scale(1.1);
}

.faq-toggle i {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-toggle i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(248, 250, 255, 0.5);
  margin: 0 2rem 2rem;
  border-radius: 1rem;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding: 1.5rem;
}

.answer-content {
  animation: answerSlideIn 0.5s ease-out;
}

@keyframes answerSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.answer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: all 0.3s ease;
  cursor: default;
}

.feature-badge:hover {
  background: rgba(124, 58, 237, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.feature-badge i {
  font-size: 0.875rem;
  opacity: 0.8;
}

.faq-summary {
  margin-top: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.stat-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.stat-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .benefits-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .benefit-visual {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .benefit-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  .benefit-content h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  .benefit-content p {
    text-align: center;
    font-size: 1rem;
  }

  .benefit-features {
    justify-content: center;
  }

  .benefits-summary {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .feature-item {
    padding: 2rem 1.5rem;
  }

  .feature-visual {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .feature-badge {
    align-self: center;
  }

  .feature-highlights {
    justify-content: center;
  }

  .highlight-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .features-summary {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .summary-highlight {
    padding: 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .highlight-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .step-number {
    margin: 0 auto;
  }

  .process-steps {
    padding: 0 1rem;
  }

  .faq-container {
    padding: 0 1rem;
  }

  .faq-question-content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .faq-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .faq-toggle {
    width: 35px;
    height: 35px;
  }

  .answer-features {
    justify-content: center;
  }

  .feature-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .summary-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-item {
    padding: 1.25rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .info-section {
    margin: 2rem 0;
    padding: 0 0.5rem;
  }

  .why-choose-section,
  .features-section {
    margin: 2rem 0.5rem;
    padding: 2rem 0;
  }

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

  .benefit-card,
  .feature-item {
    padding: 1.5rem;
  }

  .step-item {
    padding: 1.5rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Note Success Page Styles */
.note-success-section {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.note-success-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.05),
    rgba(59, 130, 246, 0.05)
  );
  z-index: 0;
}

.note-success-section > * {
  position: relative;
  z-index: 1;
}

.success-header {
  margin-bottom: 3rem;
}

.success-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 4rem;
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  animation: successIconPulse 2s ease-in-out infinite;
}

@keyframes successIconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.success-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.success-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.note-link-container {
  margin-bottom: 3rem;
}

.link-input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.link-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(124, 58, 237, 0.2);
  border-radius: 1rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.link-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.copy-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), #7c3aed);
  color: white;
  border: none;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

.copy-btn:active {
  transform: translateY(0);
}

.link-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(124, 58, 237, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(124, 58, 237, 0.1);
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(124, 58, 237, 0.08);
  transform: translateY(-2px);
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.info-item span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  animation: buttonsEntrance 0.8s ease-out 0.8s both;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #7c3aed);
  color: white;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  opacity: 0.8;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.security-note i {
  color: #10b981;
  font-size: 1.1rem;
}

/* Responsive Design for Note Success Page */
@media (max-width: 768px) {
  .note-success-section {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
  }

  .success-icon {
    width: 100px;
    height: 100px;
    font-size: 3rem;
  }

  .success-header h1 {
    font-size: 2rem;
  }

  .success-header p {
    font-size: 1.1rem;
  }

  .link-input-group {
    flex-direction: column;
    gap: 1rem;
  }

  .copy-btn {
    justify-content: center;
  }

  .link-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .note-success-section {
    padding: 1.5rem 1rem;
  }

  .success-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .success-header h1 {
    font-size: 1.8rem;
  }

  .link-input {
    font-size: 0.9rem;
    padding: 0.875rem 1.25rem;
  }

  .copy-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Enhanced Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.create-note-btn {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  transform: translateY(0);
  transition: all 0.3s ease;
}

.create-note-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.create-note-btn i {
  font-size: 1.1rem;
}

.test-note-btn {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  transition: all 0.3s ease;
}

.test-note-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.test-note-help {
  margin-top: 0.75rem;
  margin-left: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.test-note-help:hover {
  opacity: 1;
}

.test-note-help i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  animation: badgeFloat 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.section-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.section-badge:hover::before {
  left: 100%;
}

.section-badge i {
  font-size: 1rem;
  animation: iconSpin 4s linear infinite;
}

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

/* Responsive Design for Enhanced Sections */
@media (max-width: 768px) {
  .section-title-container h2 {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .section-badge {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .title-decoration {
    width: 80px;
    height: 3px;
  }

  .title-decoration::before {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  .section-title-container h2 {
    font-size: 1.75rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .section-badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}

/* Section Navigation */
.section-nav {
  display: flex;
  gap: 0.75rem;
  margin-left: 1.5rem;
  align-items: center;
  flex-shrink: 0;
}

.section-nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  text-decoration: none;
  border-radius: 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.2);
  white-space: nowrap;
}

.section-nav-link:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.section-nav-link i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.section-nav-link:hover i {
  transform: scale(1.1);
}

/* Responsive Design for Section Navigation */
@media (max-width: 1200px) {
  .section-nav {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
  }

  .section-nav-link {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .section-nav {
    display: flex;
    gap: 0.4rem;
    margin-left: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-nav-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0;
  transform: scale(0.8);
}

.back-to-top.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #1e40af, #7c3aed);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.back-to-top i {
  transition: transform 0.3s ease;
}

.back-to-top:hover i {
  transform: translateY(-2px);
}

/* Responsive Design for Back to Top */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}

/* Logo Link Styling */
.logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-link:hover .logo {
  filter: brightness(1.1);
}

.logo-link:hover .logo i {
  transform: scale(1.1);
  color: #1e40af;
}

.logo-link:hover .logo h1 {
  color: #1e40af;
}

/* Touch-friendly interactions for mobile */
@media (max-width: 768px) {
  /* Better touch targets */
  .nav-link,
  .btn,
  .hamburger-menu {
    min-height: 44px; /* iOS recommended touch target */
    min-width: 44px;
  }

  /* Smooth mobile animations */
  .nav-menu {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
  }

  /* Better mobile scrolling */
  .main-content {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  /* Mobile gesture improvements */
  .note-container,
  .benefit-card,
  .feature-item {
    touch-action: pan-y;
  }

  /* Mobile form improvements */
  input,
  textarea,
  select {
    -webkit-appearance: none;
    border-radius: var(--border-radius);
  }

  /* Mobile button improvements */
  .btn:active {
    transform: scale(0.98);
  }

  /* Mobile section navigation */
  .section-nav {
    display: none; /* Already hidden on mobile */
  }

  /* Mobile footer improvements */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Transition Section Styles */
.transition-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  margin: 60px auto;
  max-width: 800px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.transition-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
}

.transition-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.transition-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.transition-text h3 {
  color: #1e293b;
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.transition-text p {
  color: #64748b;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

.transition-arrow {
  color: #3b82f6;
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive Design for Transition Section */
@media (max-width: 768px) {
  .transition-section {
    margin: 40px 20px;
    padding: 30px 20px;
  }

  .transition-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .transition-text h3 {
    font-size: 24px;
  }

  .transition-text p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .transition-section {
    margin: 30px 15px;
    padding: 25px 15px;
  }

  .transition-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .transition-text h3 {
    font-size: 22px;
  }

  .transition-text p {
    font-size: 15px;
  }
}

/* Enhanced How It Works Section Styles */
.enhanced-process-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 50px 0;
}

.process-step-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.process-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
}

.process-step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
}

.step-number-badge {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  z-index: 2;
}

.step-content-wrapper {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  margin-top: 20px;
}

.step-icon-container {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 32px;
  flex-shrink: 0;
  border: 2px solid rgba(59, 130, 246, 0.1);
}

.step-details {
  flex: 1;
}

.step-details h3 {
  color: #1e293b;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 15px 0;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-details p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.feature-item i {
  color: #3b82f6;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.feature-item span {
  color: #475569;
  font-size: 14px;
  font-weight: 500;
}

/* Enhanced Summary Cards */
.enhanced-process-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 50px 0;
}

.summary-card-enhanced {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.summary-card-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
}

.summary-card-enhanced::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.summary-icon-enhanced {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.summary-content h4 {
  color: #1e293b;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.summary-content p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .enhanced-process-steps {
    gap: 25px;
    margin: 40px 0;
  }

  .process-step-card {
    padding: 25px 20px;
  }

  .step-content-wrapper {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .step-icon-container {
    width: 70px;
    height: 70px;
    font-size: 28px;
    margin: 0 auto;
  }

  .step-details h3 {
    font-size: 22px;
  }

  .step-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .enhanced-process-summary {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
  }

  .summary-card-enhanced {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .process-step-card {
    padding: 20px 15px;
  }

  .step-number-badge {
    width: 45px;
    height: 45px;
    font-size: 18px;
    left: 20px;
  }

  .step-icon-container {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .step-details h3 {
    font-size: 20px;
  }

  .step-details p {
    font-size: 15px;
  }

  .feature-item {
    padding: 10px 12px;
  }

  .summary-card-enhanced {
    padding: 20px 15px;
  }

  .summary-icon-enhanced {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

/* New Sections Styles - Security Deep Dive */
.security-deep-dive-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 25px;
  margin: 60px auto;
  padding: 50px;
  max-width: 1200px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.security-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.security-feature-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.security-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.security-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.security-feature-card h3 {
  color: #1e293b;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 15px 0;
}

.security-feature-card p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Use Cases Section */
.use-cases-section {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 25px;
  margin: 60px auto;
  padding: 50px;
  max-width: 1200px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.use-case-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.use-case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
}

.use-case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.use-case-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 32px;
  margin: 0 auto 20px;
  border: 2px solid rgba(59, 130, 246, 0.1);
}

.use-case-card h3 {
  color: #1e293b;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 15px 0;
}

.use-case-card p {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Performance Metrics Section */
.performance-metrics-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 25px;
  margin: 60px auto;
  padding: 50px;
  max-width: 1200px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.metric-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.metric-number {
  font-size: 48px;
  font-weight: 800;
  color: #3b82f6;
  margin: 0;
  line-height: 1;
}

.metric-unit {
  font-size: 18px;
  font-weight: 600;
  color: #8b5cf6;
  margin: 5px 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metric-label {
  font-size: 16px;
  font-weight: 600;
  color: #475569;
  margin: 0;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .security-deep-dive-section,
  .use-cases-section,
  .performance-metrics-section {
    margin: 40px 20px;
    padding: 30px 20px;
  }

  .security-features-grid,
  .use-cases-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .security-feature-card,
  .use-case-card,
  .metric-card {
    padding: 25px 20px;
  }

  .security-icon,
  .use-case-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

  .metric-number {
    font-size: 40px;
  }
}

@media (max-width: 480px) {
  .security-deep-dive-section,
  .use-cases-section,
  .performance-metrics-section {
    margin: 30px 15px;
    padding: 25px 15px;
  }

  .security-feature-card,
  .use-case-card,
  .metric-card {
    padding: 20px 15px;
  }

  .security-icon,
  .use-case-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .metric-number {
    font-size: 36px;
  }
}
