 /* Base styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
      line-height: 1.6;
      color: #333;
      background-color: #f8f9fa;
    }

    /* Skip link */
    .skip-link {
      position: absolute;
      top: -40px;
      left: 0;
      background: #aa336a;
      color: white;
      padding: 8px;
      text-decoration: none;
      z-index: 100;
    }

    .skip-link:focus {
      top: 0;
    }

    /* Navigation */
    .navbar {
      background: #fff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .nav-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .nav-logo h1 {
      color: #aa336a;
      font-size: 1.8rem;
      font-weight: 700;
    }

    .nav-logo a {
      text-decoration: none;
    }

    .nav-menu {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .nav-link {
      text-decoration: none;
      color: #666;
      font-weight: 500;
      transition: color 0.3s;
      padding: 0.5rem 0;
    }

    .nav-link:hover,
    .nav-link.active {
      color: #aa336a;
    }

    /* Mobile menu toggle */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      flex-direction: column;
      gap: 4px;
    }

    .mobile-menu-toggle span {
      width: 25px;
      height: 3px;
      background: #333;
      transition: all 0.3s;
    }

    /* User menu */
    .user-menu {
      position: relative;
    }

    .user-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      border: 2px solid transparent;
      transition: border-color 0.3s;
    }

    .user-avatar:hover {
      border-color: #aa336a;
    }

    .user-dropdown {
      position: absolute;
      top: 100%;
      right: 0;
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      padding: 0.5rem 0;
      min-width: 200px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s;
      margin-top: 0.5rem;
    }

    .user-dropdown.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .user-dropdown-item {
      padding: 0.75rem 1rem;
      cursor: pointer;
      transition: background 0.3s;
      font-size: 0.95rem;
    }

    .user-dropdown-item:hover {
      background: #f8f9fa;
    }

    .upgrade-icon {
      color: #ffd700;
    }

    /* Main container */
    .main-container {
      max-width: 1400px;
      margin: 2rem auto;
      padding: 0 2rem;
    }

    /* Tab content */
    .tab-content {
      display: none;
      animation: fadeIn 0.3s;
    }

    .tab-content.active {
      display: block;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* QR Generator Grid */
    .qr-generator-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
    }

    /* Sections */
    .input-section,
    .preview-section {
      background: #fff;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .section-title {
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      color: #2c3e50;
      font-weight: 600;
    }

    .subsection-title {
      font-size: 1.1rem;
      margin-bottom: 1rem;
      color: #555;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .section-icon {
      font-size: 1.2rem;
    }

    /* QR Type Selector */
    .qr-type-selector {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-bottom: 2rem;
    }

    .qr-type-btn {
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      padding: 1.5rem;
      background: #fff;
      cursor: pointer;
      text-align: center;
      transition: all 0.3s;
      position: relative;
    }

    .qr-type-btn:hover {
      border-color: #aa336a;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .qr-type-btn.active {
      border-color: #aa336a;
      background: #fef5f9;
    }

    .qr-type-icon {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }

    .qr-type-title {
      font-weight: 600;
      margin-bottom: 0.25rem;
      color: #333;
    }

    .qr-type-btn small {
      color: #666;
      font-size: 0.875rem;
    }

    .premium-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      background: linear-gradient(135deg, #aa336a, #d63384);
      color: white;
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 600;
    }

    /* Input groups */
    .input-group {
      margin-bottom: 1.5rem;
    }

    .input-group label {
      display: block;
      margin-bottom: 0.5rem;
      color: #555;
      font-weight: 500;
    }

    .input-group input,
    .input-group select,
    .select-input {
      width: 100%;
      padding: 0.75rem;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 1rem;
      transition: border-color 0.3s;
    }

    .input-group input:focus,
    .input-group select:focus,
    .select-input:focus {
      outline: none;
      border-color: #aa336a;
      box-shadow: 0 0 0 3px rgba(170, 51, 106, 0.1);
    }

    .input-help {
      font-size: 0.875rem;
      color: #999;
      margin-top: 0.25rem;
    }

    /* Checkbox */
    .checkbox-label {
      display: flex;
      align-items: center;
      cursor: pointer;
      user-select: none;
    }

    .checkbox-label input[type="checkbox"] {
      width: auto;
      margin-right: 0.75rem;
    }

    .premium-text {
      color: #aa336a;
      font-size: 0.875rem;
      margin-left: 0.5rem;
    }

    /* Customization section */
    .customization-section {
      border-top: 1px solid #eee;
      padding-top: 1.5rem;
      margin-top: 1.5rem;
    }

    /* Color customization */
    .color-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .color-input-wrapper label {
      font-size: 0.875rem;
      margin-bottom: 0.5rem;
    }

    .color-picker-wrapper {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .color-input {
      width: 50px;
      height: 40px;
      padding: 0;
      border: 1px solid #ddd;
      border-radius: 6px;
      cursor: pointer;
    }

    .color-preview {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      border: 1px solid #ddd;
    }

    /* Color presets */
    .color-presets {
      display: flex;
      gap: 0.5rem;
      margin-top: 1rem;
    }

    .preset-btn {
      width: 40px;
      height: 40px;
      border: 1px solid #ddd;
      border-radius: 6px;
      background: #fff;
      cursor: pointer;
      font-size: 1.25rem;
      transition: all 0.3s;
    }

    .preset-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    /* Logo upload */
    .logo-upload-area {
      border: 2px dashed #ddd;
      border-radius: 8px;
      padding: 2rem;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s;
      background: #fafafa;
    }

    .logo-upload-area:hover {
      border-color: #aa336a;
      background: #fef5f9;
    }

    .logo-upload-area.has-logo {
      padding: 1rem;
    }

    .upload-icon {
      font-size: 2rem;
      margin-bottom: 0.5rem;
      color: #999;
    }

    .logo-preview {
      margin-bottom: 1rem;
    }

    .logo-preview img {
      max-width: 150px;
      max-height: 150px;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Logo controls */
    .logo-controls {
      margin-top: 1rem;
    }

    /* Slider */
    .slider-wrapper {
      margin-bottom: 1rem;
    }

    .slider-wrapper label {
      display: block;
      margin-bottom: 0.5rem;
      font-size: 0.875rem;
      color: #555;
    }

    .slider {
      width: 100%;
      height: 6px;
      background: #ddd;
      outline: none;
      opacity: 0.7;
      transition: opacity 0.2s;
      border-radius: 3px;
      cursor: pointer;
    }

    .slider:hover {
      opacity: 1;
    }

    .slider::-webkit-slider-thumb {
      appearance: none;
      width: 18px;
      height: 18px;
      background: #aa336a;
      cursor: pointer;
      border-radius: 50%;
    }

    .slider::-moz-range-thumb {
      width: 18px;
      height: 18px;
      background: #aa336a;
      cursor: pointer;
      border-radius: 50%;
      border: none;
    }

    /* Advanced options */
    .advanced-options {
      margin-top: 1.5rem;
    }

    .advanced-toggle {
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem;
      background: #f8f9fa;
      border-radius: 6px;
      font-weight: 500;
      color: #555;
      list-style: none;
    }

    .advanced-toggle:hover {
      background: #e9ecef;
    }

    .toggle-icon {
      transition: transform 0.3s;
    }

    details[open] .toggle-icon {
      transform: rotate(90deg);
    }

    .advanced-content {
      padding: 1rem 0;
    }

    /* Buttons */
    .btn {
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 6px;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
    }

    .btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .btn-primary {
      background: linear-gradient(135deg, #aa336a, #d63384);
      color: white;
    }

    .btn-primary:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(170, 51, 106, 0.3);
    }

    .btn-secondary {
      background: #6c757d;
      color: white;
    }

    .btn-secondary:hover:not(:disabled) {
      background: #5a6268;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    }

    .btn-outline {
      background: transparent;
      border: 2px solid #aa336a;
      color: #aa336a;
    }

    .btn-outline:hover:not(:disabled) {
      background: #aa336a;
      color: white;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(170, 51, 106, 0.3);
    }

    .btn-sm {
      padding: 0.5rem 1rem;
      font-size: 0.875rem;
    }

    .btn-icon {
      font-size: 1.1em;
    }

    /* Action buttons */
    .action-buttons {
      display: flex;
      gap: 1rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }

    /* QR Preview */
    .qr-preview-container {
      background: #f8f9fa;
      border-radius: 8px;
      padding: 2rem;
      text-align: center;
      min-height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #qrcode {
      display: inline-block;
    }

    #qrcode canvas,
    #qrcode img {
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    /* Empty state */
    .empty-state {
      text-align: center;
      color: #999;
    }

    .empty-state-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      opacity: 0.5;
    }

    .empty-state-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: #666;
    }

    .empty-state-text {
      color: #999;
      margin-bottom: 1rem;
    }

    .empty-state-features {
      margin-top: 1.5rem;
      display: flex;
      gap: 1.5rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .feature-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #666;
      font-size: 0.875rem;
    }

    .feature-icon {
      color: #4caf50;
    }

    /* Promotion box */
    .promotion-box {
      background: linear-gradient(135deg, #fef5f9, #fff);
      border: 1px solid #f0c0d0;
      border-radius: 8px;
      padding: 1.5rem;
      margin-top: 2rem;
    }

    .promotion-box h3 {
      color: #aa336a;
      margin-bottom: 1rem;
      font-size: 1.2rem;
    }

    .feature-list {
      list-style: none;
      margin-bottom: 1rem;
    }

    .feature-list li {
      padding: 0.5rem 0;
      padding-left: 1.5rem;
      position: relative;
      font-size: 0.95rem;
    }

    .feature-list li:before {
      content: "✓";
      position: absolute;
      left: 0;
      color: #4caf50;
      font-weight: bold;
    }

    /* Dashboard */
    .dashboard-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .dashboard-stats {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .usage-counter {
      color: #666;
      font-size: 0.95rem;
    }

    .dashboard-content {
      min-height: 400px;
    }

    .empty-dashboard {
      background: white;
      border-radius: 12px;
      padding: 4rem 2rem;
      text-align: center;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    /* QR Dashboard Grid */
    .qr-dashboard-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 2rem;
    }

    .qr-dashboard-card {
      background: white;
      border-radius: 12px;
      padding: 1.5rem;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      transition: all 0.3s;
    }

    .qr-dashboard-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    .qr-card-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 1rem;
    }

    .qr-card-title {
      font-weight: 600;
      color: #333;
      font-size: 1.1rem;
    }

    .qr-card-type {
      font-size: 0.75rem;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-weight: 500;
      text-transform: uppercase;
    }

    .qr-card-type.static {
      background: #e3f2fd;
      color: #1976d2;
    }

    .qr-card-type.dynamic {
      background: #fef5f9;
      color: #aa336a;
    }

    .qr-card-preview {
      text-align: center;
      margin-bottom: 1rem;
      padding: 1rem;
      background: #f8f9fa;
      border-radius: 8px;
    }

    .qr-preview-img {
      max-width: 150px;
      max-height: 150px;
      border-radius: 4px;
    }

    .qr-card-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .stat-item {
      text-align: center;
    }

    .stat-value {
      font-size: 1.25rem;
      font-weight: 600;
      color: #aa336a;
    }

    .stat-label {
      font-size: 0.75rem;
      color: #999;
      text-transform: uppercase;
    }

    .qr-card-actions {
      display: flex;
      gap: 0.5rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .action-btn {
      padding: 0.5rem;
      border: 1px solid #ddd;
      border-radius: 6px;
      background: white;
      cursor: pointer;
      transition: all 0.3s;
      font-size: 1.1rem;
    }

    .action-btn:hover {
      background: #f8f9fa;
      border-color: #aa336a;
      transform: translateY(-2px);
    }

    /* URL Shortener */
    .url-shortener-container {
      max-width: 800px;
      margin: 0 auto;
      background: white;
      padding: 3rem;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .section-description {
      color: #666;
      margin-bottom: 2rem;
      text-align: center;
    }

    .shortener-input-group {
      display: flex;
      gap: 1rem;
      margin-bottom: 2rem;
    }

    .url-input {
      flex: 1;
      padding: 0.75rem 1rem;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 1rem;
    }

    .url-input:focus {
      outline: none;
      border-color: #aa336a;
      box-shadow: 0 0 0 3px rgba(170, 51, 106, 0.1);
    }

    .shortened-urls {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .shortened-url-item {
      padding: 1rem;
      background: #f8f9fa;
      border-radius: 8px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
    }

    .shortened-url-info {
      flex: 1;
      min-width: 0;
    }

    .short-url {
      font-weight: 600;
      color: #aa336a;
      margin-bottom: 0.25rem;
      word-break: break-all;
    }

    .original-url {
      font-size: 0.875rem;
      color: #666;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .url-actions {
      display: flex;
      gap: 0.5rem;
    }

    /* Analytics */
    .analytics-container {
      background: white;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .stats-overview {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
      margin-bottom: 3rem;
    }

    .stat-card {
      background: #f8f9fa;
      padding: 1.5rem;
      border-radius: 8px;
      text-align: center;
      transition: all 0.3s;
    }

    .stat-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .stat-icon {
      font-size: 2rem;
      margin-bottom: 0.5rem;
      opacity: 0.8;
    }

    .stat-content .stat-value {
      font-size: 2rem;
      font-weight: 700;
      color: #aa336a;
      margin-bottom: 0.25rem;
    }

    .stat-content .stat-label {
      color: #666;
      font-size: 0.875rem;
    }

    /* Charts */
    .charts-section {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 2rem;
    }

    .chart-card {
      background: #f8f9fa;
      padding: 1.5rem;
      border-radius: 8px;
    }

    .chart-card h3 {
      margin-bottom: 1rem;
      color: #333;
    }

    .chart-container {
      position: relative;
      height: 300px;
    }

    .top-qr-list {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .top-qr-item {
      padding: 0.75rem;
      background: white;
      border-radius: 6px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .top-qr-title {
      font-weight: 500;
      color: #333;
    }

    .top-qr-type {
      font-size: 0.75rem;
      color: #666;
    }

    .top-qr-scans {
      font-weight: 600;
      color: #aa336a;
    }

    .no-data {
      text-align: center;
      color: #999;
      padding: 2rem;
    }

    /* Modals */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 2000;
    }

    .modal.active {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-backdrop {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
    }

    .modal-content {
      position: relative;
      background: white;
      border-radius: 12px;
      max-width: 1200px;
      max-height: 90vh;
      overflow: auto;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      animation: modalSlideIn 0.3s ease;
    }

    @keyframes modalSlideIn {
      from {
        transform: translateY(-50px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .modal-header {
      padding: 2rem;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .modal-header h2 {
      color: #333;
      font-size: 1.75rem;
    }

    .modal-close {
      background: none;
      border: none;
      font-size: 1.5rem;
      color: #999;
      cursor: pointer;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.3s;
    }

    .modal-close:hover {
      background: #f8f9fa;
      color: #333;
    }

    .modal-body {
      padding: 2rem;
    }

    /* Pricing Modal */
    .pricing-modal {
      width: 95vw;
      max-width: 1200px;
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1.5rem;
      margin-bottom: 2rem;
    }

    .pricing-card {
      background: #f8f9fa;
      border-radius: 12px;
      padding: 2rem 1.5rem;
      text-align: center;
      position: relative;
      transition: all 0.3s;
      border: 2px solid transparent;
    }

    .pricing-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .pricing-card.recommended {
      border-color: #aa336a;
      background: linear-gradient(to bottom, #fef5f9, #fff);
    }

    .recommended-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: #aa336a;
      color: white;
      padding: 0.25rem 1rem;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
    }

    .plan-name {
      font-size: 1.5rem;
      font-weight: 700;
      color: #333;
      margin-bottom: 0.5rem;
    }

    .plan-price {
      font-size: 2.5rem;
      font-weight: 800;
      color: #aa336a;
      margin-bottom: 0.25rem;
    }

    .plan-price .currency {
      font-size: 1.5rem;
      vertical-align: super;
    }

    .plan-price .period {
      font-size: 1rem;
      color: #666;
      font-weight: normal;
    }

    .plan-description {
      font-size: 0.875rem;
      color: #666;
      margin-bottom: 1.5rem;
      min-height: 2.5em;
    }

    .plan-features {
      list-style: none;
      text-align: left;
      margin-bottom: 2rem;
    }

    .plan-features li {
      padding: 0.5rem 0;
      font-size: 0.875rem;
      color: #555;
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
    }

    .plan-features li:before {
      content: "✓";
      color: #4caf50;
      font-weight: bold;
      flex-shrink: 0;
    }

    .plan-features li.disabled {
      color: #999;
      text-decoration: line-through;
    }

    .plan-features li.disabled:before {
      content: "✗";
      color: #dc3545;
    }

    .pricing-cta {
      margin-top: auto;
    }

    /* Toast notifications */
    .toast-container {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      z-index: 3000;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .toast {
      background: white;
      padding: 1rem 1.5rem;
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      display: flex;
      align-items: center;
      gap: 0.75rem;
      min-width: 300px;
      transform: translateX(400px);
      transition: transform 0.3s ease;
    }

    .toast.show {
      transform: translateX(0);
    }

    .toast-success {
      border-left: 4px solid #4caf50;
    }

    .toast-error {
      border-left: 4px solid #dc3545;
    }

    .toast-info {
      border-left: 4px solid #2196f3;
    }

    .toast-icon {
      font-size: 1.25rem;
    }

    .toast-message {
      flex: 1;
      color: #333;
    }

    /* Loading overlay */
    .loading-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.95);
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      z-index: 3000;
    }

    .loading-overlay.active {
      display: flex;
    }

    .spinner {
      width: 50px;
      height: 50px;
      border: 4px solid #f3f3f3;
      border-top: 4px solid #aa336a;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin-bottom: 1rem;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Responsive */
    @media (max-width: 768px) {
      .nav-menu {
        display: none;
      }

      .mobile-menu-toggle {
        display: flex;
      }

      .qr-generator-grid {
        grid-template-columns: 1fr;
      }

      .charts-section {
        grid-template-columns: 1fr;
      }

      .pricing-grid {
        grid-template-columns: 1fr;
      }

      .shortener-input-group {
        flex-direction: column;
      }

      .action-buttons {
        flex-direction: column;
      }

      .action-buttons .btn {
        width: 100%;
        justify-content: center;
      }

      .modal-content {
        margin: 1rem;
      }

      .toast-container {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
      }

      .toast {
        min-width: auto;
      }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
      .qr-generator-grid {
        grid-template-columns: 1fr;
      }

      .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }