:root {
        --primary-dark: #2c3e50;
        --primary-blue: #3498db;
        --white: #ffffff;
      }

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

      body {
        font-family: "Poppins", sans-serif;
        color: var(--primary-dark);
        background-color: var(--white);
        overflow-x: hidden;
      }

      .navbar {
        background-color: var(--primary-dark);
        padding: 1rem 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
      }

      .navbar.scrolled {
        padding: 0.5rem 5%;
        background-color: rgba(44, 62, 80, 0.95);
      }

      .logo {
        display: flex;
        align-items: center;
      }

      .logo img {
        height: 40px;
        margin-right: 10px;
        transition: all 0.3s ease;
      }

      .logo h1 {
        color: var(--white);
        font-size: 1.5rem;
        font-weight: 600;
      }

      .nav-links {
        display: flex;
        list-style: none;
      }

      .nav-links li {
        margin-left: 2rem;
        position: relative;
      }

      .nav-links a {
        color: var(--white);
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        transition: color 0.3s ease;
        position: relative;
      }

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

      .nav-links a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--primary-blue);
        bottom: -5px;
        left: 0;
        transition: width 0.3s ease;
      }

      .nav-links a:hover::after {
        width: 100%;
      }

      .hamburger {
        display: none;
        cursor: pointer;
      }

      .hamburger div {
        width: 25px;
        height: 3px;
        background-color: var(--white);
        margin: 5px;
        transition: all 0.3s ease;
      }

      .hero {
        height: 60vh;
        background: linear-gradient(
            rgba(44, 62, 80, 0.8),
            rgba(44, 62, 80, 0.8)
          ),
          url("https://images.unsplash.com/photo-1470225620780-dba8ba36b745?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        padding: 0 5%;
        color: var(--white);
        margin-top: 0;
      }

      .hero-content {
        max-width: 600px;
      }

      .hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        line-height: 1.2;
      }

      .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.9;
      }

      .btn {
        display: inline-block;
        background-color: var(--primary-blue);
        color: var(--white);
        padding: 0.8rem 2rem;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
      }

      .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
      }

      .section {
        padding: 5rem 5%;
      }

      .section-title {
        text-align: center;
        margin-bottom: 3rem;
      }

      .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary-dark);
        position: relative;
        display: inline-block;
        padding-bottom: 1rem;
      }

      .section-title h2::after {
        content: "";
        position: absolute;
        width: 50%;
        height: 3px;
        background-color: var(--primary-blue);
        bottom: 0;
        left: 25%;
      }

      .audio-converter {
        max-width: 800px;
        margin: 0 auto;
        background-color: #f9f9f9;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 2rem;
      }

      .upload-area {
        border: 2px dashed #ddd;
        border-radius: 5px;
        padding: 2rem;
        text-align: center;
        margin-bottom: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .upload-area:hover {
        border-color: var(--primary-blue);
        background-color: rgba(52, 152, 219, 0.05);
      }

      .upload-area i {
        font-size: 3rem;
        color: var(--primary-blue);
        margin-bottom: 1rem;
      }

      .upload-area p {
        margin-bottom: 0.5rem;
      }

      .upload-area small {
        color: #777;
      }

      #file-input {
        display: none;
      }

      .preview-container {
        margin-bottom: 2rem;
        display: none;
      }

      .file-info {
        background-color: #f0f8ff;
        padding: 1rem;
        border-radius: 5px;
        border-left: 4px solid var(--primary-blue);
        margin-bottom: 1.5rem;
      }

      .info-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #eee;
      }

      .info-item span:first-child {
        font-weight: 500;
      }

      .conversion-options {
        margin-bottom: 2rem;
      }

      .option-group {
        margin-bottom: 1.5rem;
      }

      .option-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
      }

      .option-group select {
        width: 100%;
        padding: 0.8rem 1rem;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1rem;
      }

      .audio-player {
        width: 100%;
        margin: 1.5rem 0;
      }

      .bitrate-slider {
        margin-top: 1.5rem;
      }

      .slider-container {
        display: flex;
        align-items: center;
        gap: 1rem;
      }

      .slider-container input[type="range"] {
        flex: 1;
      }

      .slider-value {
        min-width: 50px;
        text-align: center;
        font-weight: 500;
      }

      .quality-presets {
        display: flex;
        gap: 0.5rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
      }

      .quality-preset {
        padding: 0.3rem 0.8rem;
        background: #e0e0e0;
        border-radius: 20px;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.2s;
      }

      .quality-preset:hover {
        background: #d0d0d0;
      }

      .quality-preset.active {
        background: var(--primary-blue);
        color: white;
      }

      .conversion-result {
        background-color: #f0f8ff;
        padding: 1rem;
        border-radius: 5px;
        border-left: 4px solid var(--primary-blue);
        margin-bottom: 1.5rem;
        display: none;
      }

      .action-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
      }

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

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

      .btn-download {
        background-color: #2ecc71;
        display: none;
      }

      .btn-download:hover {
        background-color: #27ae60;
      }

      .footer {
        background-color: var(--primary-dark);
        color: var(--white);
        padding: 3rem 5%;
        text-align: center;
      }

      .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 2rem;
      }

      .footer-column {
        flex: 1;
        min-width: 250px;
        margin-bottom: 1.5rem;
      }

      .footer-column h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        position: relative;
        display: inline-block;
      }

      .footer-column h3::after {
        content: "";
        position: absolute;
        width: 50%;
        height: 2px;
        background-color: var(--primary-blue);
        bottom: -8px;
        left: 25%;
      }

      .footer-links {
        list-style: none;
      }

      .footer-links li {
        margin-bottom: 0.8rem;
      }

      .footer-links a {
        color: #ddd;
        text-decoration: none;
        transition: color 0.3s ease;
      }

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

      .social-links {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
      }

      .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        margin: 0 0.5rem;
        color: var(--white);
        transition: all 0.3s ease;
      }

      .social-links a:hover {
        background-color: var(--primary-blue);
        transform: translateY(-3px);
      }

      .footer-bottom {
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }

      @media (max-width: 768px) {
        .navbar {
          padding: 1rem 5%;
        }

        .nav-links {
          position: absolute;
          right: 0;
          top: 70px;
          background-color: var(--primary-dark);
          width: 100%;
          flex-direction: column;
          align-items: center;
          padding: 2rem 0;
          transition: all 0.5s ease-out;
          clip-path: circle(0px at 90% -10%);
        }

        .nav-links.active {
          clip-path: circle(1000px at 90% -10%);
        }

        .nav-links li {
          margin: 1rem 0;
        }

        .hamburger {
          display: block;
        }

        .hamburger.active div:nth-child(1) {
          transform: rotate(-45deg) translate(-5px, 6px);
        }

        .hamburger.active div:nth-child(2) {
          opacity: 0;
        }

        .hamburger.active div:nth-child(3) {
          transform: rotate(45deg) translate(-5px, -6px);
        }

        .hero h1 {
          font-size: 2rem;
        }

        .hero p {
          font-size: 1rem;
        }

        .btn {
          padding: 0.6rem 1.5rem;
        }

        .action-buttons {
          flex-direction: column;
          align-items: center;
        }
      }