@font-face {
  font-family: 'Spline Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/SplineSans-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Spline Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/SplineSans-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Spline Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/SplineSans-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Spline Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/SplineSans-ExtraBold.woff2') format('woff2');
}

:root {
  --primary: #81358a;
  --primary-light: rgba(129, 53, 138, 0.2);
  --accent: #f29100;
  --background: #000000;
  --card: #0a0a0a;
  --border: #1a1a1a;
  --foreground: #e5e5e5;
  --muted: #a3a3a3;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  padding: 40px;
}

.loading-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  animation: logoPulse 2s ease-in-out infinite;
}

.loading-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.loading-title {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.loading-text {
  font-size: 16px;
  color: #9ca3af;
  margin-bottom: 32px;
}

.loading-progress-container {
  width: 280px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto 16px;
}

.loading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 0.3s ease;
}

.loading-percentage {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Spline Sans', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 40px;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.8);
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}

@media (min-width: 640px) {
  .header {
    padding: 12px 40px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  color: white;
  cursor: pointer;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
  height: 32px;
  width: 32px;
  border-radius: 6px;
  object-fit: contain;
}

.logo h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.nav-desktop {
  display: none;
  flex: 1;
  justify-content: flex-end;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: white;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Report Page Navbar */
.report-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.report-nav .container {
  display: flex;
  justify-content: flex-start;
}

.report-nav .logo img {
  height: 40px;
  width: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-large {
  height: 48px;
  padding: 0 24px;
  font-size: 16px;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 32px;
  height: 32px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--background);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: white;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 16px;
  text-align: center;
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-image: url('../images/hero-poster.jpg');
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.5));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 896px;
}

.hero h1 {
  color: white;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.033em;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 48px;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 60px;
  }
}

.hero h2 {
  color: #d1d5db;
  font-size: 16px;
  font-weight: 400;
  max-width: 672px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero h2 {
    font-size: 18px;
  }
}

.hero .btn {
  position: relative;
  z-index: 10;
  margin-top: 16px;
}

.hero-credit {
  position: absolute;
  bottom: 15vh;
  right: 24px;
  z-index: 10;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}

.hero-credit:hover {
  color: var(--primary);
}

/* Section Common */
.section {
  padding: 64px 0;
}

@media (min-width: 640px) {
  .section {
    padding: 96px 0;
  }
}

.section-dark {
  background-color: rgba(0, 0, 0, 0.5);
}

.section-title {
  color: white;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 36px;
  }
}

.section-subtitle {
  color: #d1d5db;
  font-size: 16px;
  max-width: 672px;
  margin: 16px auto 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* Chi Siamo */
#chi-siamo {
  padding: 100px 0;
}

@media (min-width: 1024px) {
  #chi-siamo {
    padding: 80px 0;
  }
  
  #chi-siamo > .container {
    width: 100%;
  }
}

.chi-siamo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

@media (min-width: 1024px) {
  .chi-siamo-content {
    flex-direction: row;
  }
}

.chi-siamo-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .chi-siamo-text {
    text-align: left;
  }
  
  .chi-siamo-text .section-title {
    text-align: left;
  }
}

.chi-siamo-text p {
  color: #d1d5db;
  line-height: 1.8;
  font-size: 18px;
}

/* Chi Siamo Slideshow */
.chi-siamo-slideshow {
  flex: 1;
  width: 100%;
  position: relative;
}

.slideshow-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .chi-siamo-slideshow {
    flex: 1.2;
  }
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.dot.active {
  background: var(--primary);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Service category boxes */
.service-category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .service-category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.service-category-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.service-category-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transition: height 0.3s;
}

.service-category-box--accent::before {
  background: var(--accent);
}

.service-category-box:hover {
  border-color: var(--primary);
  background: rgba(129, 53, 138, 0.08);
  transform: translateY(-4px);
}

.service-category-box--accent:hover {
  border-color: var(--accent);
  background: rgba(242, 145, 0, 0.07);
}

.service-category-icon {
  color: var(--primary);
}

.service-category-box--accent .service-category-icon {
  color: var(--accent);
}

.service-category-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.service-category-content p {
  font-size: 15px;
  color: #9ca3af;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-category-list li {
  font-size: 14px;
  color: #d1d5db;
  padding-left: 18px;
  position: relative;
}

.service-category-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.service-category-box--accent .service-category-list li::before {
  background: var(--accent);
}

.service-category-arrow {
  color: var(--primary);
  align-self: flex-end;
  transition: transform 0.3s;
}

.service-category-box--accent .service-category-arrow {
  color: var(--accent);
}

.service-category-box:hover .service-category-arrow {
  transform: translateX(6px);
}

/* Service page hero */
.service-page-hero {
  padding: 120px 0 64px;
  background: linear-gradient(180deg, rgba(129,53,138,0.15) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-page-hero.accent-hero {
  background: linear-gradient(180deg, rgba(242,145,0,0.12) 0%, transparent 100%);
}

.service-page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.service-page-back:hover {
  color: white;
}

.service-page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.1;
}

.service-page-hero p {
  font-size: 18px;
  color: #9ca3af;
  max-width: 600px;
  line-height: 1.65;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 64px 0;
}

@media (min-width: 768px) {
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-detail-card {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: border-color 0.3s, background 0.3s;
}

.service-detail-card:hover {
  border-color: var(--primary);
  background: rgba(129,53,138,0.07);
}

.service-detail-card.accent-card:hover {
  border-color: var(--accent);
  background: rgba(242,145,0,0.07);
}

.service-detail-card-icon {
  color: var(--primary);
  margin-bottom: 20px;
}

.accent-card .service-detail-card-icon {
  color: var(--accent);
}

.service-detail-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.service-detail-card p {
  font-size: 14px;
  color: #9ca3af;
  line-height: 1.65;
}

.service-page-cta {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0;
  text-align: center;
}

.service-page-cta h2 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.service-page-cta p {
  font-size: 16px;
  color: #9ca3af;
  margin-bottom: 32px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px;
  background-color: var(--background);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.service-icon {
  padding: 16px;
  background-color: var(--primary-light);
  border-radius: 50%;
  margin-bottom: 24px;
}

.service-icon span {
  font-size: 36px;
  color: var(--primary);
}

.service-card h3 {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
}

/* Partners */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 64px;
}

.partners-grid img {
  height: 32px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.partners-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partners-grid img.tall {
  height: 40px;
}

.partners-grid img.taller {
  height: 48px;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-item {
  position: relative;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: white;
  font-size: 18px;
  font-weight: 700;
}

.portfolio-overlay p {
  color: #d1d5db;
  font-size: 14px;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header .section-title {
  margin-bottom: 16px;
}

.contact-subtitle {
  color: #d1d5db;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-cards {
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: stretch;
  }
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 53, 138, 0.4);
}

.contact-card-featured {
  background: linear-gradient(135deg, rgba(129, 53, 138, 0.2), rgba(242, 145, 0, 0.15));
  border-color: var(--accent);
  position: relative;
  padding-top: 48px;
}

.contact-card-featured:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
}

.contact-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px;
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
}

.email-icon {
  background: rgba(129, 53, 138, 0.2);
}

.email-icon svg {
  stroke: var(--primary);
}

.phone-icon {
  background: rgba(129, 53, 138, 0.2);
}

.phone-icon svg {
  stroke: var(--primary);
}

.report-icon {
  background: rgba(242, 145, 0, 0.2);
}

.report-icon svg {
  stroke: var(--accent);
}

.contact-card h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 8px;
}

.contact-card p {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

.contact-card-featured p {
  margin-bottom: 20px;
}

.contact-card-featured .btn {
  width: 100%;
}

/* Contact Form */
.contact-form {
  max-width: 576px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--background);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input::placeholder {
  color: var(--muted);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand h3 {
  color: white;
  font-size: 18px;
  font-weight: 700;
}

.footer-version {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
  font-family: monospace;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 14px;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: white;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #9ca3af;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: white;
}

.footer-social svg {
  width: 24px;
  height: 24px;
}

/* Tool Page */
.tool-page {
  min-height: 100vh;
  padding-top: 80px;
}

.tool-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 0;
}

@media (min-width: 1024px) {
  .tool-layout {
    flex-direction: row;
  }
}

.tool-sidebar {
  width: 100%;
}

@media (min-width: 1024px) {
  .tool-sidebar {
    width: 288px;
    flex-shrink: 0;
  }
}

.tool-sidebar-content {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tool-main {
  flex: 1;
  min-width: 0;
}

.tool-featured-btn {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  text-align: left;
  transition: all 0.3s;
  border: 2px solid rgba(129, 53, 138, 0.3);
  background: transparent;
  cursor: pointer;
}

.tool-featured-btn:hover {
  background-color: rgba(129, 53, 138, 0.05);
}

.tool-featured-btn.active {
  border-color: var(--primary);
  background-color: rgba(129, 53, 138, 0.1);
}

.tool-featured-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-featured-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.tool-featured-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.tool-featured-text p {
  font-size: 12px;
  color: var(--muted);
}

.tool-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 4px;
  margin-bottom: 12px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.tool-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  text-align: left;
  transition: all 0.3s;
  border: none;
  background: transparent;
  cursor: pointer;
  color: white;
}

.tool-btn:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.tool-btn.active {
  background-color: var(--primary);
  color: white;
}

.tool-btn-icon {
  flex-shrink: 0;
  color: var(--primary);
}

.tool-btn.active .tool-btn-icon {
  color: white;
}

.tool-btn-text h4 {
  font-size: 14px;
  font-weight: 500;
}

.tool-btn-text p {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tool-btn.active .tool-btn-text p {
  color: rgba(255, 255, 255, 0.7);
}

.tool-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.tool-card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.tool-card-content {
  padding: 24px;
}

/* Welcome Intro */
.welcome-intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.welcome-header {
  text-align: center;
}

.welcome-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.welcome-header p {
  color: var(--muted);
  max-width: 672px;
  margin: 0 auto;
}

.welcome-featured-card {
  border: 2px solid rgba(129, 53, 138, 0.5);
  background-color: rgba(129, 53, 138, 0.05);
  border-radius: 8px;
  padding: 24px;
}

.welcome-featured-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .welcome-featured-inner {
    flex-direction: row;
  }
}

.welcome-featured-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.welcome-featured-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.welcome-featured-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .welcome-featured-text {
    text-align: left;
  }
}

.welcome-featured-text h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.welcome-featured-text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.welcome-tools h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.welcome-tools-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .welcome-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.welcome-tool-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.welcome-tool-card svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

.welcome-tool-card h4 {
  font-weight: 500;
}

.welcome-tool-card p {
  font-size: 14px;
  color: var(--muted);
}

.welcome-tools > p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}

/* Metronome */
.metronome {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.metronome-display {
  text-align: center;
}

.metronome-bpm {
  font-size: 60px;
  font-weight: 700;
  color: var(--primary);
}

.metronome-label {
  font-size: 24px;
  color: var(--muted);
  margin-left: 8px;
}

.metronome-slider {
  width: 100%;
}

.metronome-slider input[type="range"] {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: var(--border);
  border-radius: 4px;
  outline: none;
}

.metronome-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.metronome-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

.metronome-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.metronome-controls label {
  font-size: 14px;
}

.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border);
  border-radius: 24px;
  transition: 0.3s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.metronome-beats {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.beat-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--border);
  transition: background-color 0.1s;
}

.beat-indicator.active {
  background-color: var(--primary);
}

/* Reverb Calculator */
.reverb-calculator {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reverb-input label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.reverb-input input {
  width: 100%;
  padding: 12px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: white;
  font-size: 18px;
  text-align: center;
}

.reverb-input input:focus {
  outline: none;
  border-color: var(--primary);
}

.reverb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .reverb-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reverb-time {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

.reverb-time .note {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.reverb-time .value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.reverb-tips {
  font-size: 12px;
  color: var(--muted);
}

/* Gap Analysis Panel */
.gap-analysis-panel {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gap-analysis-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(129, 53, 138, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.gap-analysis-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.gap-analysis-panel h3 {
  font-size: 20px;
  font-weight: 600;
}

.gap-analysis-panel > p {
  color: var(--muted);
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto;
}

.gap-analysis-list {
  list-style: none;
  text-align: left;
  max-width: 300px;
  margin: 0 auto;
}

.gap-analysis-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  padding: 8px 0;
}

.gap-analysis-list svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Gap Analysis Form Page */
.gap-form-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.gap-form-header {
  padding: 16px;
}

.gap-form-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  color: white;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gap-form-back:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.gap-form-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 16px;
}

@media (min-width: 640px) {
  .gap-form-content {
    padding: 32px 24px;
  }
}

.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.progress-dot {
  height: 8px;
  border-radius: 4px;
  transition: all 0.3s;
}

.progress-dot.completed {
  width: 32px;
  background-color: var(--primary);
}

.progress-dot.current {
  width: 32px;
  background-color: rgba(129, 53, 138, 0.5);
}

.progress-dot.pending {
  width: 8px;
  background-color: var(--border);
}

.step-container {
  max-width: 768px;
  margin: 0 auto;
  width: 100%;
}

.step-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  background-color: rgba(129, 53, 138, 0.1);
  color: var(--primary);
  border-radius: 9999px;
  margin-bottom: 16px;
}

.step-subtitle {
  color: var(--muted);
  font-size: 14px;
  max-width: 400px;
  margin: 8px auto 0;
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .step-title {
    font-size: 30px;
  }
}

.step-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.step-form input,
.step-form textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: white;
  font-family: inherit;
  font-size: 18px;
  transition: border-color 0.3s;
}

.step-form input:focus,
.step-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.step-form textarea {
  min-height: 120px;
  resize: vertical;
}

.radio-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.radio-option:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.radio-option.selected {
  border-color: var(--primary);
  background-color: rgba(129, 53, 138, 0.05);
}

.radio-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.radio-option span {
  font-size: 16px;
}

.checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 672px;
  margin: 0 auto;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.checkbox-option:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.checkbox-option.selected {
  border-color: var(--primary);
  background-color: rgba(129, 53, 138, 0.05);
}

.checkbox-option input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.checkbox-option span {
  font-size: 14px;
  line-height: 1.5;
}

/* Priority List */
.priority-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 672px;
  margin: 0 auto;
}

.priority-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: grab;
  transition: all 0.3s;
}

.priority-item:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.priority-item.dragging {
  opacity: 0.5;
  transform: scale(0.98);
}

.priority-grip {
  color: var(--muted);
}

.priority-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.priority-label {
  flex: 1;
  font-size: 14px;
}

.priority-buttons {
  display: flex;
  gap: 8px;
}

.priority-btn {
  padding: 4px 8px;
  font-size: 12px;
  background-color: var(--border);
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  transition: opacity 0.3s;
}

.priority-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.priority-btn:not(:disabled):hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Competence Sliders */
.competence-sliders {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 512px;
  margin: 0 auto;
}

.competence-slider {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.competence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.competence-header label {
  font-size: 16px;
  font-weight: 500;
}

.competence-header .value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.competence-slider input[type="range"] {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: var(--border);
  border-radius: 4px;
  outline: none;
}

.competence-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.competence-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* Navigation Buttons */
.form-nav {
  display: flex;
  gap: 16px;
  max-width: 400px;
  margin: 48px auto 0;
}

.form-nav button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.form-nav .btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: white;
}

.form-nav .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.form-nav .btn-primary {
  background-color: var(--primary);
  border: none;
  color: white;
}

.form-nav .btn-primary:hover:not(:disabled) {
  opacity: 0.9;
}

.form-nav .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Success Page */
.success-page {
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(129, 53, 138, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.success-page h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
}

.success-page p {
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 32px;
}

/* Utility classes */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 16px;
}

/* Material Icons placeholder - using SVG instead */
.material-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
}

/* ==================== NEW TOOL PAGE STYLES ==================== */

.tool-body {
  background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
}

/* Tool Hero Section */
.tool-hero {
  background: linear-gradient(135deg, rgba(129, 53, 138, 0.4) 0%, rgba(80, 30, 90, 0.2) 30%, rgba(0, 0, 0, 0.95) 70%, rgba(0, 0, 0, 1) 100%);
  padding: 100px 24px 80px;
  margin-top: 60px;
  border-radius: 24px;
  margin-left: 16px;
  margin-right: 16px;
}

.tool-hero-content {
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .tool-hero-content {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.tool-hero-left h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  color: white;
}

@media (min-width: 768px) {
  .tool-hero-left h1 {
    font-size: 48px;
  }
}

.text-accent {
  color: var(--accent);
}

.tool-hero-left p {
  color: #a3a3a3;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(129, 53, 138, 0.2);
  border: 1px solid rgba(129, 53, 138, 0.4);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.tool-badge-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.tool-hero-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
}

@media (min-width: 640px) {
  .tool-hero-form {
    flex-direction: row;
  }
}

.tool-hero-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px 18px;
  color: white;
  font-size: 14px;
}

.tool-hero-form input::placeholder {
  color: #666;
}

.tool-hero-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-accent:hover {
  background: #d98200;
}

.tool-hero-note {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

/* Status Card */
.tool-status-card {
  background: rgba(30, 30, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  max-width: 240px;
  margin-left: auto;
}

.tool-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.tool-status-header span:first-child {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #888;
}

.tool-status-badge {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

.tool-status-bars {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 28px;
  height: 60px;
}

.tool-status-bar {
  width: 8px;
  background: rgba(129, 53, 138, 0.3);
  border-radius: 3px;
}

.tool-status-bar:nth-child(1) { height: 20px; }
.tool-status-bar:nth-child(2) { height: 35px; }
.tool-status-bar:nth-child(3) { height: 50px; background: var(--primary); }
.tool-status-bar:nth-child(4) { height: 35px; }
.tool-status-bar:nth-child(5) { height: 20px; }

.tool-status-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-status-footer span:first-child {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #888;
}

.tool-status-value {
  font-size: 18px;
  font-weight: 600;
  color: white;
}

/* Tool Sections */
.tool-section {
  padding: 60px 24px;
}

.tool-section-alt {
  background: rgba(10, 10, 10, 0.5);
}

.tool-section-header {
  margin-bottom: 40px;
}

.tool-section-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tool-section-header p {
  color: #888;
  font-size: 15px;
}

/* Tool Grid */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tool-grid-2 {
  max-width: 800px;
}

@media (min-width: 768px) {
  .tool-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* New Tool Cards */
.tool-card-new {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.tool-card-header-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.tool-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #ccc;
}

.tool-card-title svg {
  color: var(--primary);
}

/* Shuffle Toggle */
.shuffle-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.shuffle-toggle input {
  display: none;
}

.shuffle-slider {
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
  transition: background 0.2s;
}

.shuffle-slider::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #666;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: all 0.2s;
}

.shuffle-toggle input:checked + .shuffle-slider {
  background: var(--primary);
}

.shuffle-toggle input:checked + .shuffle-slider::after {
  left: 18px;
  background: white;
}

.shuffle-label {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #888;
}

/* Metronome Display */
.metronome-display-new {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  padding-top: 20px;
}

.metronome-display-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 60px;
  border: 3px solid rgba(129, 53, 138, 0.4);
  border-bottom: none;
  border-radius: 60px 60px 0 0;
}

.bpm-value {
  font-size: 64px;
  font-weight: 300;
  color: white;
  line-height: 1;
  margin-top: 30px;
}

.bpm-label {
  display: block;
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.metronome-controls-new {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.metro-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.metro-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.metro-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.metro-play-btn:hover {
  background: #9a4ba3;
  transform: scale(1.05);
}

/* Reverb Calculator */
.reverb-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reverb-label {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 4px;
}

.reverb-dimensions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.reverb-dimensions input,
.reverb-select,
.rider-input,
.rider-textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  color: white;
  font-size: 14px;
  width: 100%;
}

.reverb-dimensions input::placeholder,
.rider-input::placeholder,
.rider-textarea::placeholder {
  color: #555;
}

.reverb-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.reverb-result {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reverb-result-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 8px;
}

.reverb-result-value {
  display: block;
  font-size: 36px;
  font-weight: 300;
  color: white;
  margin-bottom: 12px;
}

.reverb-recalc {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.2s;
}

.reverb-recalc:hover {
  color: #9a4ba3;
}

/* Technical Rider */
.rider-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rider-label {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #888;
}

.rider-textarea {
  resize: none;
  min-height: 60px;
}

.rider-generate {
  margin-top: 8px;
  width: 100%;
}

.download-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px;
  color: #888;
  cursor: pointer;
  transition: all 0.2s;
}

.download-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Coming Soon Cards */
.tool-card-coming {
  padding: 32px 24px;
  min-height: 280px;
}

.tool-card-icon-large {
  margin-bottom: 16px;
}

.tool-card-decoration {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.5;
}

.tool-card-coming h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.tool-card-coming p {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 24px;
}

.tool-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.tool-status-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #666;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 4px;
}

.tool-status-tag.tag-dev {
  color: var(--accent);
  background: rgba(242, 145, 0, 0.1);
}

.tool-link {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.tool-link:hover {
  color: #9a4ba3;
}

.tool-link-accent {
  color: var(--accent);
}

.tool-link-accent:hover {
  color: #d98200;
}

/* Tool Footer */
.tool-footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-footer-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .tool-footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.tool-footer-links {
  display: flex;
  gap: 24px;
}

.tool-footer-links a {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.tool-footer-links a:hover {
  color: white;
}

.tool-footer-copy {
  font-size: 13px;
  color: #666;
}

.tool-footer-social {
  display: flex;
  gap: 16px;
}

.tool-footer-social a {
  color: #666;
  transition: color 0.2s;
}

.tool-footer-social a:hover {
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ===== NEW REPORT PAGE STYLES ===== */
.report-page {
  min-height: 100vh;
  padding-top: 20px;
}

/* Section Navigation */
.section-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.section-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s;
  min-width: 80px;
}

.section-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.section-nav-item.active {
  background: rgba(129, 53, 138, 0.2);
  border-color: var(--primary);
}

.section-nav-item.completed {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}

.section-nav-item.completed .section-nav-number {
  background: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.section-nav-item.locked {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.section-nav-item.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

.section-nav-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
}

.section-nav-item.active .section-nav-number {
  background: var(--primary);
  color: white;
}

.section-nav-label {
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
}

.section-nav-item.active .section-nav-label {
  color: white;
}

@media (max-width: 640px) {
  .section-nav {
    justify-content: flex-start;
    padding: 16px;
    gap: 6px;
  }
  
  .section-nav-item {
    padding: 8px 12px;
    min-width: 60px;
  }
  
  .section-nav-label {
    font-size: 10px;
  }
}

/* Form Container */
.report-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

@media (min-width: 640px) {
  .report-form-container {
    padding: 40px 24px 80px;
  }
}

/* Report Sections */
.report-section {
  display: none;
}

.report-section.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.section-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.section-icon svg {
  width: 36px;
  height: 36px;
}

.section-icon-1 { background: rgba(129, 53, 138, 0.2); }
.section-icon-1 svg { stroke: var(--primary); }

.section-icon-2 { background: rgba(242, 145, 0, 0.2); }
.section-icon-2 svg { stroke: var(--accent); }

.section-icon-3 { background: rgba(59, 130, 246, 0.2); }
.section-icon-3 svg { stroke: #3b82f6; }

.section-icon-4 { background: rgba(34, 197, 94, 0.2); }
.section-icon-4 svg { stroke: #22c55e; }

.section-icon-5 { background: rgba(168, 85, 247, 0.2); }
.section-icon-5 svg { stroke: #a855f7; }

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.section-header p {
  color: #9ca3af;
  font-size: 16px;
}

/* Form Groups */
.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: white;
  margin-bottom: 12px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(129, 53, 138, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-hint {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
}

.optional {
  font-weight: 400;
  color: #6b7280;
}

.max-hint {
  font-weight: 400;
  color: var(--accent);
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Radio Cards */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .radio-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.radio-card {
  cursor: pointer;
}

.radio-card input {
  display: none;
}

.radio-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s;
  text-align: center;
}

.radio-card:hover .radio-card-content {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.radio-card input:checked + .radio-card-content {
  background: rgba(129, 53, 138, 0.15);
  border-color: var(--primary);
}

.radio-icon {
  font-size: 28px;
}

.radio-label {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.4;
}

.radio-card input:checked + .radio-card-content .radio-label {
  color: white;
}

/* Radio Cards Vertical */
.radio-cards-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-card-vertical {
  cursor: pointer;
}

.radio-card-vertical input {
  display: none;
}

.radio-card-vertical .radio-card-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s;
  text-align: left;
}

.radio-card-vertical:hover .radio-card-content {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.radio-card-vertical input:checked + .radio-card-content {
  background: rgba(129, 53, 138, 0.15);
  border-color: var(--primary);
}

.radio-card-vertical .radio-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.radio-text {
  flex: 1;
}

.radio-text .radio-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: white;
  margin-bottom: 4px;
}

.radio-text .radio-desc {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.4;
}

/* Radio Pills */
.radio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-pills-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-pill {
  cursor: pointer;
}

.radio-pill input {
  display: none;
}

.radio-pill span {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  transition: all 0.3s;
}

.radio-pill:hover span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.radio-pill input:checked + span {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Checkbox Cards */
.checkbox-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .checkbox-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.checkbox-card {
  cursor: pointer;
}

.checkbox-card input {
  display: none;
}

.checkbox-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s;
  text-align: center;
}

.checkbox-card:hover .checkbox-card-content {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.checkbox-card input:checked + .checkbox-card-content {
  background: rgba(242, 145, 0, 0.15);
  border-color: var(--accent);
}

.checkbox-icon {
  font-size: 28px;
}

.checkbox-label {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.4;
}

.checkbox-card input:checked + .checkbox-card-content .checkbox-label {
  color: white;
}

.checkbox-card input:disabled + .checkbox-card-content {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Competence Slider */
.competence-slider {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13px;
  color: #9ca3af;
}

.slider-container {
  position: relative;
}

.slider-container input[type="range"] {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
}

.slider-container input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
}

.slider-values {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}

/* Conditional Field */
.conditional-field {
  margin-top: 16px;
}

/* Info Box */
.info-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
}

.info-box-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.2);
  border-radius: 10px;
}

.info-box-icon svg {
  width: 20px;
  height: 20px;
  stroke: #a855f7;
}

.info-box-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
}

.info-box-content p {
  font-size: 14px;
  color: #d1d5db;
  line-height: 1.6;
}

/* Section Footer */
.section-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-footer .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-footer .btn svg {
  flex-shrink: 0;
}

/* Price Options */
.price-options .radio-card-vertical .radio-card-content {
  padding: 12px 16px;
}

.price-options .radio-text .radio-label {
  margin-bottom: 0;
}

.price-options .radio-text .radio-desc {
  margin-top: 2px;
}

/* SVG Icons in Cards */
.radio-icon svg,
.checkbox-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.radio-card input:checked + .radio-card-content .radio-icon svg,
.checkbox-card input:checked + .checkbox-card-content .checkbox-icon svg {
  stroke: white;
}

.radio-card-vertical .radio-icon svg {
  width: 20px;
  height: 20px;
}

/* Form Validation Errors */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.form-group.error .radio-cards,
.form-group.error .checkbox-cards,
.form-group.error .radio-cards-vertical {
  border: 2px solid #e74c3c;
  border-radius: 12px;
  padding: 10px;
  margin: -10px;
}

.error-message {
  display: block;
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 8px;
  font-weight: 500;
}

/* Caravan Image */
.caravan-image {
  margin: 0 0 32px 0;
  border-radius: 12px;
  overflow: hidden;
}

.caravan-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Cookie Consent Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border-top: 1px solid rgba(129, 53, 138, 0.4);
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

#cookie-banner.visible {
  transform: translateY(0);
}

#cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.cookie-icon {
  width: 40px;
  height: 40px;
  color: #f29100;
  flex-shrink: 0;
}

.cookie-banner-text h3 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 6px 0;
}

.cookie-banner-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: #f29100;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn-accept {
  background: #81358a;
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #9a4ba3;
}

.cookie-btn-reject {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.cookie-btn-reject:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-settings {
  background: transparent;
  color: #f29100;
  border: 1px solid #f29100;
}

.cookie-btn-settings:hover {
  background: rgba(242, 145, 0, 0.1);
}

.cookie-btn-save {
  background: #f29100;
  color: #000;
}

.cookie-btn-save:hover {
  background: #ffaa33;
}

/* Cookie Settings Panel */
.cookie-settings-panel {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: #1a1a1a;
  border-top: 1px solid rgba(129, 53, 138, 0.4);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.cookie-settings-panel.active {
  display: block;
  max-height: 500px;
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings-header h3 {
  color: #fff;
  font-size: 18px;
  margin: 0;
}

.cookie-settings-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.cookie-settings-close:hover {
  color: #fff;
}

.cookie-settings-body {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-option {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-option-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.cookie-option-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-option-info strong {
  color: #fff;
}

.cookie-badge {
  background: rgba(129, 53, 138, 0.3);
  color: #81358a;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.cookie-option p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
  padding-left: 56px;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  border-radius: 22px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #81358a;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(18px);
}

.cookie-toggle.disabled .cookie-toggle-slider {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-settings-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: right;
}

/* Footer Legal Links */
.footer-legal {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #f29100;
}

/* GDPR Consent Checkbox */
.gdpr-consent {
  margin-top: 24px;
  padding: 20px;
  background: rgba(129, 53, 138, 0.1);
  border: 1px solid rgba(129, 53, 138, 0.3);
  border-radius: 12px;
}

.gdpr-consent label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.gdpr-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #81358a;
}

.gdpr-consent span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

.gdpr-consent a {
  color: #f29100;
}

.gdpr-consent.error {
  border-color: #dc3545;
}

.gdpr-consent .error-message {
  display: block;
  margin-top: 8px;
  padding-left: 32px;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-banner-actions {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  
  .cookie-option p {
    padding-left: 0;
    margin-top: 8px;
  }
}

/* Success Popup */
.success-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-popup-overlay.active {
  opacity: 1;
}

.success-popup {
  background: linear-gradient(135deg, rgba(129, 53, 138, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
  border: 1px solid var(--primary);
  border-radius: 24px;
  padding: 48px 64px;
  text-align: center;
  max-width: 480px;
  margin: 20px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 0 60px rgba(129, 53, 138, 0.4);
}

.success-popup-overlay.active .success-popup {
  transform: scale(1);
}

.success-popup-icon {
  color: var(--accent);
  margin-bottom: 24px;
  animation: successPulse 1s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.success-popup-title {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.success-popup-text {
  font-size: 18px;
  color: #9ca3af;
  margin-bottom: 32px;
}

.success-popup-loader {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.success-popup-loader::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  animation: loadingBar 3s linear forwards;
}

@keyframes loadingBar {
  0% { width: 0; }
  100% { width: 100%; }
}

@media (max-width: 480px) {
  .success-popup {
    padding: 32px 24px;
  }
  
  .success-popup-title {
    font-size: 24px;
  }
  
  .success-popup-text {
    font-size: 16px;
  }
}

/* ========== BUG REPORT POPUP ========== */
.bug-report-link {
  color: #6b7280;
  font-size: 13px;
  transition: color 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bug-report-link:hover {
  color: var(--accent);
}

.bug-report-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.bug-report-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.bug-report-popup {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.25s ease;
}

.bug-report-overlay.active .bug-report-popup {
  transform: translateY(0) scale(1);
}

.bug-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.bug-report-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bug-report-header h3 svg {
  color: var(--accent);
}

.bug-report-close {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.bug-report-close:hover {
  color: white;
}

.bug-report-field {
  margin-bottom: 20px;
}

.bug-report-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bug-report-field input[type="text"],
.bug-report-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: white;
  font-size: 15px;
  font-family: inherit;
  padding: 12px 14px;
  transition: border-color 0.2s;
  box-sizing: border-box;
  resize: vertical;
}

.bug-report-field input[type="text"]:focus,
.bug-report-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.bug-severity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bug-severity-option {
  position: relative;
}

.bug-severity-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.bug-severity-option label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

.bug-severity-option input[type="radio"]:checked + label {
  border-color: var(--primary);
  background: rgba(129, 53, 138, 0.15);
}

.bug-severity-option label:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.severity-name {
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.severity-level-1 .severity-name { color: #ef4444; }
.severity-level-2 .severity-name { color: #f97316; }
.severity-level-3 .severity-name { color: #eab308; }
.severity-level-4 .severity-name { color: #6b7280; }

.severity-desc {
  font-size: 11px;
  color: #6b7280;
  font-weight: 400;
  line-height: 1.3;
}

.bug-report-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.bug-report-actions button {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}

.bug-report-actions button:hover {
  opacity: 0.85;
}

.bug-btn-cancel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
}

.bug-btn-submit {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: white;
}

.bug-report-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
}

.bug-report-success-msg {
  text-align: center;
  padding: 20px 0;
}

.bug-report-success-msg svg {
  color: var(--accent);
  margin-bottom: 16px;
}

.bug-report-success-msg h4 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.bug-report-success-msg p {
  font-size: 15px;
  color: #9ca3af;
}

@media (max-width: 480px) {
  .bug-severity-grid {
    grid-template-columns: 1fr;
  }
  .bug-report-popup {
    padding: 24px 18px;
  }
}
