/* Modern Redesigned CSS for Invoice Generator */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #f3f4f6, #dbeafe);
    margin: 0;
    padding: 0;
    color: #1f2937;
  }

  .container {
    max-width: 900px;
    margin: 50px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  h1 {
    font-size: 2.5rem;
    color: #1d4ed8;
    margin-bottom: 20px;
  }

  p {
    line-height: 1.8;
    font-size: 1rem;
    color: #374151;
  }

  form {
    margin-top: 30px;
  }

  label {
    display: block;
    margin-top: 20px;
    font-weight: 600;
    color: #1f2937;
  }

  input {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background-color: #f9fafb;
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }

  input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
  }

  .generate-btn, .download-btn, .cta-button, .try-free {
    margin-top: 25px;
    padding: 14px 28px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
  }

  .generate-btn:hover, .download-btn:hover, .cta-button:hover, .try-free:hover {
    background: linear-gradient(to right, #2563eb, #3b82f6);
    transform: translateY(-2px);
  }

  .features ul {
    padding-left: 20px;
    margin-top: 15px;
    color: #4b5563;
  }

  .features li::marker {
    color: #3b82f6;
  }

  #invoiceOutput {
    margin-top: 40px;
    padding: 30px;
    background: #f1f5f9;
    border-left: 5px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    animation: fadeInUp 0.8s ease-out;
  }

  .cta-button, .try-free {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    margin-right: 15px;
    background: linear-gradient(to right, #10b981, #34d399);
  }

  .cta-button:hover, .try-free:hover {
    background: linear-gradient(to right, #059669, #10b981);
  }

  /* 3D Button Animation */
  .generate-btn:active, .download-btn:active, .cta-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  }

  /* Canvas Styling */
  #invoiceCanvas {
    display: block;
    margin: 40px auto;
    border: 2px solid #60a5fa;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
  }

  /* Add Item Button Styling */
  .add-item-btn {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(to right, #6f69bb, #71a7d7);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(179, 240, 202, 0.3);
  }

  .add-item-btn:hover {
    background: linear-gradient(to right, #a5bbd4, #a8c4f1);
    transform: translateY(-2px);
  }

  .add-item-btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
