:root {
     --yt-black: #0f0f0f;
     --yt-dark-grey: #272727;
     --yt-light-grey: #aaaaaa;
     --yt-white: #f1f1f1;
     --yt-red: #ff0b55;
     --yt-red-dark: #cf0f47;
     --yt-border: #3f3f3f;
     --font-display: "Orbitron", sans-serif;
     --font-body: "Poppins", sans-serif;
     --bg-pos-x: 0px;
     --bg-pos-y: 0px;
}

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

html {
     scroll-behavior: smooth;
}

::-webkit-scrollbar {
     width: 8px;
}

::-webkit-scrollbar-track {
     background: var(--yt-black);
}

::-webkit-scrollbar-thumb {
     background: var(--yt-border);
     border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
     background: var(--yt-light-grey);
}

::selection {
     background: var(--yt-red);
     color: var(--yt-white);
}

body {
     background-color: var(--yt-black);
     color: var(--yt-white);
     font-family: var(--font-body);
     overflow-x: hidden;
     position: relative;
}

body::before {
     content: "";
     position: fixed;
     top: 0;
     left: 0;
     width: 100vw;
     height: 100vh;
     background-image: linear-gradient(to right,
               rgba(63, 63, 63, 0.2) 1px,
               transparent 1px),
          linear-gradient(to bottom,
               rgba(63, 63, 63, 0.2) 1px,
               transparent 1px);
     background-size: 40px 40px;
     background-position: var(--bg-pos-x) var(--bg-pos-y);
     z-index: -1;
}

.container {
     width: 90%;
     max-width: 1200px;
     margin: 0 auto;
}

/* --- Draggable Navbar --- */
#draggable-nav {
     position: fixed;
     top: 20px;
     left: 20px;
     z-index: 1001;
     background: rgba(39, 39, 39, 0.7);
     backdrop-filter: blur(15px);
     -webkit-backdrop-filter: blur(15px);
     border: 1px solid var(--yt-border);
     border-radius: 50px;
     padding: 8px 10px;
     cursor: grab;
     user-select: none;
     transition: box-shadow 0.3s ease;
}

#draggable-nav:active {
     cursor: grabbing;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

#draggable-nav .nav-content {
     display: flex;
     align-items: center;
     gap: 12px;
     font-family: var(--font-display);
     font-weight: 700;
     font-size: 1.2rem;
     color: var(--yt-white);
     pointer-events: none;
}

#draggable-nav .nav-content svg {
     width: 28px;
     height: 28px;
}

.animated-path {
     stroke-dasharray: 1000;
     stroke-dashoffset: 1000;
     animation: pulse-glow 5s ease-in-out infinite;
}

@keyframes pulse-glow {
     50% {
          stroke-dashoffset: 500;
          filter: drop-shadow(0 0 8px #f1f1f1);
     }
}

/* --- Hero Section --- */
#hero {
     height: 100vh;
     min-height: 700px;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     overflow: hidden;
     text-align: center;
}

.hero-glow {
     position: absolute;
     width: 80vw;
     height: 80vw;
     max-width: 900px;
     max-height: 900px;
     background: radial-gradient(circle,
               rgba(255, 11, 85, 0.2) 0%,
               rgba(255, 11, 85, 0) 65%);
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     z-index: 1;
}

.hero-bg-logo {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     width: 70vw;
     height: 70vw;
     max-width: 800px;
     max-height: 800px;
     z-index: 2;
     opacity: 0.05;
     pointer-events: none;
}

.hero-content {
     position: relative;
     z-index: 5;
     display: flex;
     flex-direction: column;
     align-items: center;
}

.hero-title {
     font-family: var(--font-display);
     font-size: clamp(3rem, 12vw, 8rem);
     font-weight: 900;
     line-height: 1;
     letter-spacing: -0.05em;
     text-transform: uppercase;
}

.highlight {
     color: var(--yt-red);
}

.hero-description {
     font-family: var(--font-display);
     font-size: clamp(1.5rem, 5vw, 2.5rem);
     color: var(--yt-light-grey);
}

.hero-subtitle {
     font-size: 1.25rem;
     color: var(--yt-light-grey);
     max-width: 650px;
     margin: 2rem 0 3rem;
     line-height: 1.8;
}

.cta-button {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 12px;
     background-color: var(--yt-red);
     color: var(--yt-white);
     padding: 18px 36px;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 600;
     font-size: 1.2rem;
     transition: all 0.3s ease;
     border: 2px solid var(--yt-red);
}

.cta-button:hover {
     background-color: var(--yt-red-dark);
     border-color: var(--yt-red-dark);
     transform: scale(1.05) translateY(-5px);
     box-shadow: 0 10px 30px rgba(255, 11, 85, 0.4);
}

.version-tag {
     background-color: rgba(0, 0, 0, 0.25);
     font-size: 0.8rem;
     padding: 6px 12px;
     border-radius: 20px;
     font-weight: 500;
     margin-left: 8px;
}

.secondary-button {
     background-color: transparent;
     border-color: var(--yt-border);
}

.secondary-button:hover {
     background-color: var(--yt-dark-grey);
     border-color: var(--yt-dark-grey);
     box-shadow: 0 10px 30px rgba(40, 40, 40, 0.4);
}

/* --- Power Features Bento Grid --- */
#power-features {
     padding: 20vh 0;
     background: none;
}

.bento-grid {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     grid-template-rows: repeat(6, 1fr);
     gap: 1.5rem;
     margin-top: 4rem;
     height: 900px;
}

.bento-card {
     background: none;
     border: 1px solid var(--yt-border);
     border-radius: 24px;
     padding: 2rem;
     transition: transform 0.3s ease, border-color 0.3s ease;
     position: relative;
     overflow: hidden;
}

.bento-card:hover {
     transform: translateY(-8px);
     border-color: var(--yt-red);
}

.bento-card-glow {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: radial-gradient(circle at 50% 0%, rgba(255, 11, 85, 0.15), transparent 70%);
     opacity: 0;
     transition: opacity 0.4s ease;
     pointer-events: none;
}

.bento-card:hover .bento-card-glow {
     opacity: 1;
}

.bento-content {
     position: relative;
     z-index: 2;
     display: flex;
     flex-direction: column;
     height: 100%;
}

/* Grid Area Assignments */
.card-1 {
     grid-area: 1 / 1 / 3 / 3;
}

.card-2 {
     grid-area: 1 / 3 / 3 / 4;
}

.card-3 {
     grid-area: 1 / 4 / 3 / 5;
}

.card-4 {
     grid-area: 3 / 1 / 5 / 2;
}

.card-5 {
     grid-area: 3 / 2 / 5 / 3;
}

.card-6 {
     grid-area: 3 / 3 / 5 / 5;
}

.card-7 {
     grid-area: 5 / 1 / 7 / 2;
}

.card-8 {
     grid-area: 5 / 2 / 7 / 3;
}

.card-9 {
     grid-area: 5 / 3 / 7 / 4;
}

.card-10 {
     grid-area: 5 / 4 / 7 / 5;
}

.bento-card i {
     font-size: 2.5rem;
     color: var(--yt-red);
     margin-bottom: 1.5rem;
     width: 50px;
}

.bento-card h3 {
     font-family: var(--font-display);
     font-size: 1.5rem;
     margin-bottom: 1rem;
}

.bento-card p {
     color: var(--yt-light-grey);
     line-height: 1.7;
     font-size: 0.95rem;
}

/* --- Final CTA & Footer --- */
#final-cta {
     padding: 25vh 0;
     text-align: center;
}

.final-logo svg {
     width: 80px;
     height: 80px;
     margin: 0 auto 2rem;
     filter: drop-shadow(0 0 15px var(--yt-red));
}

.section-title {
     text-align: center;
     font-family: var(--font-display);
     font-size: clamp(2.5rem, 6vw, 4rem);
     margin-bottom: 1.5rem;
     text-transform: uppercase;
}

.section-subtitle {
     text-align: center;
     color: var(--yt-light-grey);
     font-size: 1.2rem;
     margin-bottom: 5rem;
     max-width: 600px;
     margin-left: auto;
     margin-right: auto;
     line-height: 1.7;
}

.button-group {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 1rem;
}

footer {
     padding: 2rem 0 2rem;
     text-align: center;
     border-top: 1px solid var(--yt-border);
     color: var(--yt-light-grey);
     font-size: 0.9rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
     .bento-grid {
          grid-template-columns: repeat(2, 1fr);
          grid-template-rows: auto;
          height: auto;
     }

     .bento-card {
          grid-area: auto !important;
     }

     .card-1,
     .card-6 {
          grid-column: 1 / -1;
     }
}

@media (max-width: 768px) {
     .hero-title {
          font-size: clamp(2.5rem, 15vw, 5rem);
     }

     .hero-subtitle {
          font-size: 1.1rem;
          max-width: 90%;
     }

     .cta-button {
          padding: 16px 28px;
          font-size: 1rem;
          width: auto;
     }

     #draggable-nav .nav-content {
          font-size: 1rem;
          gap: 8px;
     }

     #draggable-nav .nav-content svg {
          width: 24px;
          height: 24px;
     }
}

@media (max-width: 600px) {
     .bento-grid {
          grid-template-columns: 1fr;
     }
}

@media (max-width: 480px) {
     .hero-title {
          font-size: 3rem;
     }

     .hero-description {
          font-size: 1.5rem;
     }

     .hero-subtitle {
          font-size: 1rem;
          margin: 1.5rem 0 2.5rem;
     }

     #power-features {
          padding: 10vh 0;
     }

     #final-cta {
          padding: 15vh 0;
     }

     .section-subtitle {
          margin-bottom: 3rem;
     }

     .button-group {
          flex-direction: column;
          align-items: center;
     }

     .cta-button {
          width: 90%;
          max-width: 350px;
     }
}