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

body {
    font-family: 'Arial', sans-serif;
    background: #1a1a2e;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.controls {
    flex: 1;
    min-width: 300px;
    background: #2a2a3e;
    padding: 30px;
    border-radius: 10px;
    color: white;
}

.controls h2 {
    margin-bottom: 20px;
    color: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ccc;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #1a1a2e;
    color: white;
    font-size: 14px;
}

.form-group input[type="file"] {
    cursor: pointer;
}

.image-preview {
    margin-top: 10px;
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    border-radius: 5px;
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s;
}

button:hover {
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.card-container {
    flex: 1;
    min-width: 600px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    flex-direction: column;
}
.card-container h3{
  color: #fff;
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 15px;
  
}
.personalized-text{
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 14px;
    line-height: 20px;
    margin-top: 15px;
}
.card {
    width: 600px;
    height: 600px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.apex-banner {
    padding: 30px 20px;
    text-align: center;
  }
  
  .apex-content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .apex-title {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
  }
  
  .apex-title span {
    color: #2f6bff;
    font-style: italic;
  }
  
  .apex-divider {
    width: 90px;
    height: 2px;
    background: linear-gradient(
      to right,
      transparent,
      #2f6bff,
      transparent
    );
    margin: 18px auto 14px;
  }
  
  .apex-subtitle {
    margin: 0;
    font-size: 14px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
        max-width: 768px;
    margin: 0 auto;
    line-height: 24px;
  }
  

  .linkedin-prompt-section {
    padding: 35px 20px;
    color: #ffffff;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
  }
  
  .lp-container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .lp-header {
    text-align: center;
    margin-bottom: 18px;
  }
  
  .lp-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: linear-gradient(90deg, #4da3ff, #7f6cff);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    margin-bottom: 14px;
  }
  
  .lp-header h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
  }
  
  .lp-header p {
    font-size: 16px;
    color: #b8c3ff;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  .lp-card {
    background: linear-gradient(180deg, #0c1736, #0a1029);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .lp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  
  .lp-card-header h3 {
    font-size: 20px;
    font-weight: 600;
  }
  
  .lp-copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4da3ff 0%, #7f6cff 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 163, 255, 0.3);
    width: auto;
    margin: 0;
  }
  
  .lp-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 163, 255, 0.4);
  }
  
  .lp-copy-btn:active {
    transform: translateY(0);
  }
  
  .lp-copy-btn.copied {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  }
  
  .copy-icon {
    font-size: 16px;
  }
  
  .copy-text {
    font-weight: 600;
  }
  
  .lp-copied-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  .lp-copied-notification.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .lp-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(77, 163, 255, 0.15);
    color: #7fb5ff;
    border: 1px solid rgba(77, 163, 255, 0.3);
  }
  
  .lp-prompt-text {
    background: #05091a;
    border-radius: 12px;
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #e4e9ff;
    white-space: pre-wrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
  }
  
  .lp-hint {
    margin-top: 16px;
    font-size: 14px;
    color: #9fb0ff;
  }
  
  /* Image Position Controls */
  .image-position-controls {
    margin-top: 15px;
    padding: 15px;
    background: rgba(77, 163, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(77, 163, 255, 0.2);
  }
  
  .image-position-controls .position-control-label {
    display: block;
    margin-bottom: 12px;
    color: #ccc;
    font-weight: bold;
    font-size: 14px;
  }
  
  .position-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .position-control span:first-child {
    min-width: 120px;
    color: #ccc;
    font-size: 13px;
  }
  
  .position-control input[type="range"] {
    flex: 1;
    height: 6px;
    background: #2a2a3e;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
  }
  
  .position-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #4da3ff 0%, #7f6cff 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  .position-control input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #4da3ff 0%, #7f6cff 100%);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  .position-value {
    min-width: 30px;
    text-align: center;
    color: #4da3ff;
    font-weight: bold;
    font-size: 13px;
  }
  
  .reset-btn {
    width: 100%;
    padding: 8px;
    background: rgba(77, 163, 255, 0.2);
    color: #7fb5ff;
    border: 1px solid rgba(77, 163, 255, 0.3);
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
  }
  
  .reset-btn:hover {
    background: rgba(77, 163, 255, 0.3);
    transform: translateY(-1px);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .apex-title {
      font-size: 34px;
    }
  
    .apex-subtitle {
      font-size: 11px;
      letter-spacing: 2px;
    }
    .card-container{
      min-width: 100%;
    }
  }
@media (max-width: 1400px) {
    
    .card {
        width: 100%;
        max-width: 1200px;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}
