* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {

  font-family: 'Inter', sans-serif;

  background:
    radial-gradient(circle at top left,
    #ff00ff33,
    transparent 25%),

    radial-gradient(circle at bottom right,
    #00ffff33,
    transparent 25%),

    linear-gradient(
      135deg,
      #0f172a,
      #111827
    );

  color: white;

  min-height: 100vh;
}

/* HEADER */

.main-header {

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 30px;

  border-bottom:
    1px solid rgba(255,255,255,0.1);
}

.logo-placeholder {

  width: 270px;

  height: 200px;

  border: 2px solid #00ffff;

  border-radius: 20px;

  display: flex;

  justify-content: center;

  align-items: center;

  background:
    rgba(255,255,255,0.05);

  font-weight: bold;
}

.main-nav {

  display: flex;

  gap: 15px;

  flex-wrap: wrap;
}

.nav-btn {

  padding: 12px 20px;

  border: none;

  border-radius: 12px;

  cursor: pointer;

  font-weight: 700;

  color: white;

  background:
    linear-gradient(
      135deg,
      #ff00ff,
      #00ffff
    );

  transition: 0.3s;
}

.nav-btn:hover {

  transform:
    translateY(-3px)
    scale(1.05);
}

/* HERO */

.hero-section {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 40px;

  padding: 30px;
}

.hero-content h1 {

  font-size: 2.5rem;

  margin-bottom: 15px;

  background:
    linear-gradient(
      to right,
      #00ffff,
      #ff00ff
    );

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;
}

.hero-content p {

  font-size: 1.2rem;

  line-height: 1.4;

  margin-bottom: 15px;

  opacity: 0.9;
}

.hero-buttons {

  display: flex;

  gap: 20px;
}

.primary-btn,
.secondary-btn,
.download-buttons button {

  padding: 14px 26px;

  border: none;

  border-radius: 14px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.3s;
}

.primary-btn {

  background:
    linear-gradient(
      135deg,
      #00ffff,
      #ff00ff
    );

  color: white;
}

.secondary-btn {

  background:
    rgba(255,255,255,0.1);

  color: white;
}

.primary-btn:hover,
.secondary-btn:hover {

  transform: translateY(-3px);
}

.hero-image img {

  width: 50%;

  border-radius: 30px;
}

/* MAIN */

.generator-wrapper {

  display: grid;

  grid-template-columns: 420px 1fr;

  gap: 40px;

  padding: 20px;
  
  border: none;
  
  
}

/* CARDS */

.panel-card,
.preview-card,
.tips-card,
.gallery-card,
.feature-card {

  background:
    rgba(255,255,255,0.05);

  border: 2px solid;
  
  border-image:
    linear-gradient(
      135deg,
      #00ffff,
      #ff00ff,
      #00ff99,
      #ffcc00
    ) 1;

  border-radius: 24px;

  padding: 30px;

  margin-bottom: 20px;

  box-shadow:
    0 0 25px rgba(0,255,255,0.12);

  transition: 0.35s;
}

/* FORM */

label {

  display: block;

  margin-top: 20px;

  margin-bottom: 10px;

  font-weight: 600;
}

input,
textarea,
select {

  width: 100%;

  padding: 14px;

  border-radius: 14px;

  border:
    1px solid rgba(255,255,255,0.1);

  background: black;

  color: white;

  outline: none;
}

option {

  background: black;

  color: #ff00ff;
}

textarea {

  min-height: 140px;
}

/* COLOR */

.color-row {

  display: flex;

  gap: 20px;
}

.color-preview {

  width: 100%;

  height: 60px;

  border-radius: 14px;

  margin-top: 10px;

  border:
    2px solid rgba(255,255,255,0.2);
}

input[type="color"] {

  height: 60px;

  padding: 0;

  cursor: pointer;
}

/* TIP */

.contrast-tip {

  padding: 15px;

  border-radius: 14px;

  background:
    rgba(255,255,255,0.05);

  border-left:
    4px solid #00ffff;

  margin-bottom: 20px;
}

/* QR */

#qrcode {

  background: white;

  border-radius: 8px;

  padding: 20px;

  display: flex;

  justify-content: center;

  align-items: center;

  min-height: 320px;

  transition: 0.4s;
}

/* FRAMES */

.frame-modern {

  border:
    12px solid #00ffff;

  box-shadow:
    0 0 30px rgba(0,255,255,0.4);
}
    
.frame-neon {

  border:
    10px solid #ff00ff;

  box-shadow:
    0 0 20px #ff00ff,
    0 0 40px #00ffff;
}

.frame-gold {

  border:
    12px solid gold;
}

.frame-minimal {

  border:
    6px solid white;
}

.frame-rounded {

  border:
    10px solid #00ff99;

  border-radius: 40px;
}

/* DOWNLOAD */

.download-buttons {

  display: flex;

  gap: 20px;

  margin-top: 30px;
}

::placeholder {

  color: rgba(255,255,255,0.7);
}

/* GALLERY */

.gallery-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 15px;
}

.gallery-grid img {

  width: 75%;
  
  gap: 35px;

  border-radius: 16px;
}

/* FEATURES */

.features-section {

  padding: 60px;
}

.features-section h2 {

  text-align: center;

  font-size: 3rem;

  margin-bottom: 50px;
}

.feature-grid {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px, 1fr));

  gap: 30px;
}

/* FOOTER */

.main-footer {

  padding: 60px;

  background:
    rgba(0,0,0,0.3);
}

.footer-columns {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));

  gap: 30px;
}

.footer-col h4 {

  margin-bottom: 20px;
}

.footer-col a {

  display: block;

  color:
    rgba(255,255,255,0.75);

  margin-bottom: 12px;

  text-decoration: none;
}



/* RESPONSIVE */

@media(max-width: 1100px) {

  .hero-section,
  .generator-wrapper {

    grid-template-columns: 1fr;
  }

  .main-header {

    flex-direction: column;

    gap: 30px;
  }

  .hero-content h1 {

    font-size: 3rem;
  }
}

@media(max-width: 768px) {

  .hero-section,
  .generator-wrapper,
  .features-section,
  .main-footer {

    padding: 25px;
  }

  .hero-buttons,
  .download-buttons {

    flex-direction: column;
  }

  .logo-placeholder {

    width: 100%;
  }
}

/* ========================================= */
/* TOOLTIP PANEL */
/* ========================================= */

.feature-tooltip {

  position: fixed;

  top: 140px;

  right: 40px;

  width: 360px;

  background:
    rgba(15,23,42,0.96);

  border:
    2px solid #00ffff;

  border-radius: 24px;

  padding: 25px;

  z-index: 9999;

  box-shadow:
    0 0 40px rgba(0,255,255,0.3);

  opacity: 0;

  transform:
    translateY(-20px);

  pointer-events: none;

  transition: 0.35s;
}

.show-tooltip {

  opacity: 1;

  transform:
    translateY(0);

  pointer-events: auto;
}

.feature-tooltip h3 {

  margin-bottom: 20px;

  color: #00ffff;
}

.feature-tooltip ul {

  padding-left: 20px;
}

.feature-tooltip li {

  margin-bottom: 14px;

  line-height: 1.6;
}