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

      body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        min-height: 100vh;
        padding: 20px;
        position: relative;
      }

      /* Language Toggle */
      .language-selector {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
      }
      
      .language-btn {
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(102, 126, 234, 0.3);
        border-radius: 25px;
        padding: 10px 20px;
        cursor: pointer;
        font-weight: 600;
        font-size: 0.9rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        color: #667eea;
      }
      
      .language-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        background: white;
      }

      /* Main Container */
      .main-wrapper {
        max-width: 1400px;
        margin: 0 auto;
      }

      .container {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        padding: 40px;
        margin-bottom: 30px;
      }

      /* Header */
      .header-section {
        text-align: center;
        margin-bottom: 40px;
      }

      h1 {
        font-size: 2.5rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 15px;
        font-weight: 700;
      }

      .subtitle {
        color: #666;
        font-size: 1.2rem;
        font-weight: 500;
      }

      /* Grid Layout - Controls Left, Preview Right */
      .generator-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: start;
      }

      /* Controls Section */
      .controls {
        display: flex;
        flex-direction: column;
        gap: 24px;
      }

      .input-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      label {
        font-weight: 600;
        color: #333;
        font-size: 0.95rem;
      }

      input[type="text"],
      input[type="url"] {
        padding: 14px 18px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        font-size: 1rem;
        transition: all 0.3s ease;
        font-family: inherit;
      }

      input[type="text"]:focus,
      input[type="url"]:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
      }

      .input-with-button {
        display: flex;
        gap: 10px;
      }

      .input-with-button input {
        flex: 1;
      }

      .btn-generate-inline {
        padding: 14px 28px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        font-weight: 600;
        white-space: nowrap;
        transition: all 0.3s ease;
        font-size: 1rem;
      }

      .btn-generate-inline:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
      }

      /* Logo Upload */
      .file-input-wrapper {
        position: relative;
        overflow: hidden;
      }

      .file-input-wrapper input[type="file"] {
        position: absolute;
        left: -9999px;
      }

      .file-input-label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
      }

      .file-input-label:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
      }

      .logo-preview-container {
        display: none;
        align-items: center;
        gap: 15px;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 12px;
      }

      .logo-preview-container.active {
        display: flex;
      }

      .logo-preview {
        width: 80px;
        height: 80px;
        border-radius: 10px;
        object-fit: contain;
        background: white;
        padding: 8px;
        border: 2px solid #e0e0e0;
      }

      .btn-remove-logo {
        padding: 10px 18px;
        background: #ff4444;
        color: white;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
      }

      .btn-remove-logo:hover {
        background: #cc0000;
        transform: translateY(-2px);
      }

      /* Color Inputs */
      .color-group {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
      }

      .color-input-container {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        background: white;
        transition: all 0.3s ease;
      }

      .color-input-container:hover {
        border-color: #667eea;
      }

      input[type="color"] {
        width: 50px;
        height: 50px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
      }

      .color-info {
        flex: 1;
      }

      .color-label {
        font-size: 0.75rem;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .color-value {
        font-family: 'Courier New', monospace;
        font-size: 0.9rem;
        color: #333;
        font-weight: 600;
      }

      /* Style Options */
      .style-options,
      .frame-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
      }

      .frame-options {
        grid-template-columns: repeat(2, 1fr);
      }

      .style-option,
      .frame-option {
        padding: 14px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
        background: white;
      }

      .style-option:hover,
      .frame-option:hover {
        border-color: #667eea;
        background: rgba(102, 126, 234, 0.05);
        transform: translateY(-2px);
      }

      .style-option.active,
      .frame-option.active {
        border-color: #667eea;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
      }

      /* Preview Section */
      .preview-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        position: sticky;
        top: 20px;
      }

      .qr-container {
        width: 100%;
        max-width: 400px;
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        border: 3px solid #f0f0f0;
      }

      #qrCanvas {
        max-width: 100%;
        max-height: 100%;
        border-radius: 8px;
      }

      .button-group {
        display: flex;
        gap: 15px;
        width: 100%;
        max-width: 400px;
      }

      .btn-download {
        flex: 1;
        padding: 16px 28px;
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .btn-download:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(245, 87, 108, 0.4);
      }

      button:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none !important;
      }

      /* SEO Content Section */
      .seo-content {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 20px;
        padding: 40px;
        margin-top: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      }

      .seo-content h2 {
        color: #333;
        margin-bottom: 25px;
        font-size: 2rem;
        font-weight: 700;
      }

      .seo-content h3 {
        color: #444;
        margin: 30px 0 15px;
        font-size: 1.5rem;
        font-weight: 600;
      }

      .seo-content p {
        color: #555;
        line-height: 1.8;
        margin-bottom: 20px;
        font-size: 1.05rem;
      }

      .seo-content ul,
      .seo-content ol {
        color: #555;
        margin-left: 25px;
        margin-bottom: 25px;
      }

      .seo-content li {
        margin-bottom: 12px;
        line-height: 1.7;
      }

      .seo-content strong {
        color: #667eea;
        font-weight: 600;
      }

      /* Ad Placeholder Zones */
      .ad-zone {
        min-height: 100px;
        background: rgba(102, 126, 234, 0.05);
        border: 2px dashed rgba(102, 126, 234, 0.3);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 30px 0;
        padding: 20px;
      }

      .ad-zone-text {
        color: #999;
        font-size: 0.9rem;
        text-align: center;
      }

      /* Footer */
      footer {
        text-align: center;
        color: white;
        padding: 30px 20px;
        font-size: 0.95rem;
        line-height: 1.6;
      }

      footer a {
        color: white;
        text-decoration: underline;
      }

      /* Language Toggle */
      .lang-en {
        display: none;
      }

      /* Responsive Design */
      @media (max-width: 1024px) {
        .generator-grid {
          grid-template-columns: 1fr;
          gap: 40px;
        }

        .preview-section {
          position: static;
        }
      }

      @media (max-width: 768px) {
        .container {
          padding: 25px;
        }

        h1 {
          font-size: 1.8rem;
        }

        .subtitle {
          font-size: 1rem;
        }

        .color-group {
          grid-template-columns: 1fr;
        }

        .style-options {
          grid-template-columns: repeat(2, 1fr);
        }

        .input-with-button {
          flex-direction: column;
        }

        .btn-generate-inline {
          width: 100%;
        }

        .seo-content {
          padding: 25px;
        }

        .seo-content h2 {
          font-size: 1.6rem;
        }

        .seo-content h3 {
          font-size: 1.3rem;
        }

        .language-selector {
          top: 10px;
          right: 10px;
        }
      }