:root {
     --primary-100: #d8f3dc;
     --primary-200: #b7e4c7;
     --primary-300: #95d5b2;
     --primary-400: #74c69d;
     --primary-500: #52b788;
     --primary-600: #40916c;
     --primary-700: #2d6a4f;
     --primary-800: #1b4332;
     --primary-900: #081c15;
     --card-bg: rgba(27, 67, 50, 0.45);
     --card-border: rgba(82, 183, 136, 0.15);
     --card-shadow: 0 8px 32px 0 rgba(8, 28, 21, 0.35);
     --card-backdrop: blur(12px);
     --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(--primary-900);
}

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

::-webkit-scrollbar-thumb:hover {
     background: var(--primary-600);
}

::selection {
     background: var(--primary-500);
     color: var(--primary-900);
}

body {
     background-color: var(--primary-900);
     color: var(--primary-200);
     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(45, 106, 79, 0.15) 1px, transparent 1px),
          linear-gradient(to bottom, rgba(45, 106, 79, 0.15) 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-nav {
     position: fixed;
     top: 20px;
     left: 20px;
     z-index: 1001;
     background: var(--card-bg);
     backdrop-filter: var(--card-backdrop);
     -webkit-backdrop-filter: var(--card-backdrop);
     border: 1px solid var(--card-border);
     border-radius: 50px;
     padding: 8px 16px;
     cursor: grab;
     user-select: none;
     transition: box-shadow 0.3s ease;
     box-shadow: var(--card-shadow);
}

#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: 10px;
     font-weight: 500;
     font-size: 1rem;
     color: var(--primary-200);
     pointer-events: none;
}

.logo-small {
     height: 30px;
}

#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(82, 183, 136, 0.15) 0%, rgba(82, 183, 136, 0) 65%);
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     z-index: 1;
     animation: pulse 8s infinite ease-in-out;
}

@keyframes pulse {
     0% {
          transform: translate(-50%, -50%) scale(0.9);
          opacity: 0.7;
     }

     50% {
          transform: translate(-50%, -50%) scale(1.1);
          opacity: 1;
     }

     100% {
          transform: translate(-50%, -50%) scale(0.9);
          opacity: 0.7;
     }
}

.hero-bg-icon {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     height: clamp(30rem, 50vw, 50rem);
     z-index: 2;
     opacity: 0.02;
     pointer-events: none;
}

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

.hero-title {
     font-family: 'Silkscreen', cursive;
     font-size: clamp(2.5rem, 6vw, 4.5rem);
     font-weight: 700;
     line-height: 1.2;
     max-width: 900px;
     color: var(--primary-100);
}

.highlight {
     color: var(--primary-400);
}

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

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

.cta-button {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 12px;
     background-color: var(--primary-500);
     color: var(--primary-900);
     padding: 16px 32px;
     border-radius: 50px;
     text-decoration: none;
     font-weight: 600;
     font-size: 1.1rem;
     transition: all 0.3s ease;
     border: 2px solid var(--primary-500);
     white-space: nowrap;
}

.cta-button:hover {
     background-color: var(--primary-600);
     border-color: var(--primary-600);
     transform: scale(1.05) translateY(-5px);
     box-shadow: 0 10px 30px rgba(82, 183, 136, 0.25);
}

.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;
     color: var(--primary-100);
}

.secondary-button {
     background-color: transparent;
     border-color: var(--primary-700);
     color: var(--primary-200);
}

.secondary-button:hover {
     background-color: var(--primary-800);
     border-color: var(--primary-800);
     box-shadow: 0 10px 30px rgba(8, 28, 21, 0.4);
}

#power-features,
#gallery,
#activity,
#get-started,
#final-cta {
     padding: 15vh 0;
}

.section-title {
     font-family: 'Silkscreen', cursive;
     text-align: center;
     font-size: clamp(2.5rem, 5vw, 3.5rem);
     margin-bottom: 1.5rem;
     font-weight: 700;
     color: var(--primary-100);
}

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

.parent.bento-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     grid-template-rows: repeat(3, 1fr);
     grid-column-gap: 1.5rem;
     grid-row-gap: 1.5rem;
     height: 800px;
}

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

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

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

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

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

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

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

.div4 {
     grid-area: 2 / 2 / 3 / 3;
}

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

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

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

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

.bento-card h3 {
     font-size: 1.5rem;
     margin-bottom: 1rem;
     color: var(--primary-200);
}

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

.swiper {
     width: 100%;
     padding-top: 50px;
     padding-bottom: 50px;
}

.swiper-slide {
     background-position: center;
     background-size: cover;
     width: 300px;
     height: 300px;
     border-radius: 16px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.swiper-slide img {
     display: block;
     width: 100%;
     border-radius: 16px;
}

.swiper-pagination-bullet-active {
     background-color: var(--primary-500);
}

.stats-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 1.5rem;
}

.stat-card {
     background: var(--card-bg);
     backdrop-filter: var(--card-backdrop);
     -webkit-backdrop-filter: var(--card-backdrop);
     border: 1px solid var(--card-border);
     padding: 2rem;
     border-radius: 24px;
     text-align: center;
     box-shadow: var(--card-shadow);
}

.stat-card h3 {
     color: var(--primary-300);
     font-size: 1rem;
     font-weight: 500;
     margin-bottom: 0.5rem;
}

.stat-card p {
     font-size: 2.5rem;
     font-weight: 700;
     color: var(--primary-400);
}

.terminal {
     background: var(--card-bg);
     backdrop-filter: var(--card-backdrop);
     -webkit-backdrop-filter: var(--card-backdrop);
     border: 1px solid var(--card-border);
     border-radius: 16px;
     box-shadow: var(--card-shadow);
     max-width: 800px;
     margin: 0 auto;
}

.terminal-header {
     display: flex;
     align-items: center;
     padding: 0.75rem;
     background-color: var(--primary-900);
     border-bottom: 1px solid var(--card-border);
     border-top-left-radius: 16px;
     border-top-right-radius: 16px;
}

.terminal-dots {
     display: flex;
     gap: 0.5rem;
}

.terminal-dots span {
     width: 12px;
     height: 12px;
     border-radius: 50%;
}

.terminal-dots span:nth-child(1) {
     background-color: #ff5f56;
}

.terminal-dots span:nth-child(2) {
     background-color: #ffbd2e;
}

.terminal-dots span:nth-child(3) {
     background-color: #27c93f;
}

.terminal-title {
     color: #ccc;
     margin: 0 auto;
     font-size: 0.9rem;
     font-weight: 500;
}

.terminal-body {
     padding: 1.5rem;
     font-family: 'Courier Prime', 'Courier New', monospace;
     font-size: 1rem;
     min-height: 250px;
     line-height: 1.6;
}

#terminal-code .TypeIt-cursor {
     background-color: var(--primary-400);
     animation: blink 1s infinite;
}

@keyframes blink {
     50% {
          opacity: 0;
     }
}

#terminal-code .command-prompt {
     color: var(--primary-400);
}

#terminal-code .command-text {
     color: var(--primary-200);
}

#terminal-code .output {
     color: var(--primary-300);
     display: block;
     white-space: pre-wrap;
}

#terminal-code .output-success {
     color: var(--primary-400);
}

#final-cta {
     text-align: center;
}

.final-logo {
     height: 100px;
     margin: 0 auto 2rem;
     filter: drop-shadow(0 0 15px var(--primary-500));
}

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

@media (max-width: 1024px) {
     .parent.bento-grid {
          grid-template-columns: repeat(2, 1fr);
          grid-template-rows: auto;
          height: auto;
          gap: 1rem;
     }

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

     .div1,
     .div7 {
          grid-column: 1 / -1 !important;
     }
}

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