/* --- RESET & BASIC SETUP --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "RNS_B";
  src: url("fonts/RNS-B.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: "Lexend", sans-serif;
  font-weight: 200;
  overflow-x: hidden;
  font-size: clamp(16px, 1.5vw, 18px);
  -webkit-font-smoothing: antialiased;
}

/* --- MODERN SCROLLBAR --- */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background-color: #333333;
  border-radius: 10px;
  border: 3px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555555;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #333333 #000000;
}

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

ul {
  list-style: none;
}

/* --- LAYOUT UTILS --- */
.first-screen-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* --- HEADER --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(15px, 2.5vw, 25px) clamp(20px, 5vw, 60px);
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  flex-wrap: wrap;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0px;
  width: fit-content;
  max-width: 500px;
  flex-shrink: 0;
}

.logo-icon {
  height: 50px;
  width: auto;
}

.logo-text {
  font-weight: 200;
  font-size: clamp(28px, 4vw, 45px);
  color: white;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  gap: 0;
}

.logo-text .blue {
  color: #5580ff;
  font-size: clamp(28px, 4vw, 45px);
  font-weight: 300;
}

.logo-text .small {
  color: white;
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 200;
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 25px);
  flex-wrap: nowrap;
}

.price {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  white-space: nowrap;
}

.kickstarter-btn {
  background-color: #d1d1d1;
  color: #000;
  padding: clamp(8px, 1vw, 10px) clamp(12px, 1.8vw, 20px);
  border-radius: 4px;
  font-weight: 600;
  font-size: clamp(12px, 1.4vw, 16px);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.kickstarter-btn:hover {
  background-color: #ffab40ff;
}

.kickstarter-green {
  color: #05ce78;
  font-family: RNS_B;
  font-size: 1.3em;
}

/* --- HERO SECTION --- */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 60px) clamp(30px, 5vw, 60px);
  max-width: 1600px;
  margin: 0 auto;
  flex-grow: 1;
  width: 100%;
  min-height: 100vh;
}

.hero-content {
  flex: 3.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-left: clamp(0px, 8vw, 50px);
  position: relative;
  z-index: 10;
}

.hero-desc {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 200;
  margin-bottom: clamp(60px, 12vw, 150px);
  line-height: 1.4;
  margin-top: clamp(40px, 6vw, 70px);
  padding-left: clamp(0px, 8vw, 100px);
  max-width: 900px;
}

.hero-desc span {
  color: #5580ff;
}

.hero-image {
  flex: 1.5;
  display: flex;
  justify-content: center;
  align-items: left;
  height: 100%;
  padding-right: clamp(0px, 20vw, 250px);
  pointer-events: none;
  position: relative;
}

.hero-image img {
  max-width: 350%;
  max-height: 90vh;
  width: auto;
  object-fit: contain;
  transform: translateX(-5%) translateY(-30px) rotate(-10deg);
  pointer-events: none;
  position: relative;
}

.hero-footer {
  margin-top: clamp(80px, 15vw, 100px);
  padding-bottom: clamp(20px, 3vw, 0px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 20px);
}

.support-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(16px, 1.8vw, 18px);
  flex-wrap: wrap;
  padding-right: clamp(0px, 6vw, 80px);
}

.btn-blue {
  background-color: #385dcd;
  color: rgb(255, 255, 255);
  border: none;
  padding: clamp(8px, 1vw, 10px) clamp(16px, 2vw, 20px);
  border-radius: 5px;
  cursor: pointer;
  font-family: "Lexend", sans-serif;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 200;
  display: inline-block;
  transition: background-color 0.2s;
  position: relative;
  z-index: 10;
}

.btn-blue:hover {
  font-weight: 300;
  background-color: #ffab40ff;
}

.btn-blue:active {
  background-color: #4470ee;
  transform: scale(0.98);
}

/* ONE LINE EMAIL FORM */
.email-form {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: clamp(16px, 1.8vw, 18px);
  white-space: nowrap;
  width: 100%;
  position: relative;
  z-index: 10;
}

.email-input {
  background-color: #888;
  border: none;
  padding: clamp(10px, 1.2vw, 12px);
  border-radius: 4px;
  width: clamp(250px, 40vw, 380px);
  color: white;
  font-family: "Lexend", sans-serif;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 200;
  position: relative;
  z-index: 10;
}

.email-input::placeholder {
  color: #ccc;
}

.email-input:focus {
  outline: 2px solid #5580ff;
  outline-offset: 2px;
}

/* --- SECTIONS COMMON --- */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(50px, 6vw, 80px) clamp(20px, 3vw, 30px);
  border-top: 1px solid #333;
}

.section-title {
  color: #5580ff;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  margin-bottom: clamp(50px, 6vw, 80px);
}

.bottom-email {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.bottom-email-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: 0.7;
  flex-shrink: 0;
  display: block;
}

.bottom-email-text {
  font-family: "Lexend", sans-serif;
  font-size: clamp(12px, 1.2vw, 14px);
  color: #8b949e;
  font-weight: 200;
}

.bottom-divider {
  color: #30363d;
  font-size: 12px;
}

.bottom-email-link {
  font-family: "Lexend", sans-serif;
  font-size: clamp(18px, 1.2vw, 18px);
  color: #9fa4aa;
  text-decoration: none;
  font-weight: 400;
}

.bottom-email-link:hover {
  color: #d6cfcf;
  text-decoration: underline;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

img {
  display: block;
}

/* --- SUCCESS OVERLAY --- */
.success-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(25, 25, 25, 0.75);
  padding: clamp(30px, 5vw, 40px) clamp(40px, 6vw, 60px);
  border-radius: 12px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid #333;
  max-width: 90%;
}

.success-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #05ce78;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #ffffff;
  stroke-miterlimit: 10;
  margin: 0 auto;
  box-shadow: inset 0px 0px 0px #05ce78;
  animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

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

@keyframes fill {
  100% { box-shadow: inset 0px 0px 0px 30px #05ce78; }
}

.success-text {
  color: #ffffff;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  letter-spacing: 1px;
  text-align: center;
}

/* =========================================
    RESPONSIVE BREAKPOINTS (Mobile)
========================================= */

@media screen and (max-width: 768px) {
  .first-screen-wrapper {
    height: auto;
    min-height: 100vh;
    padding-bottom: 80px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    flex-direction: column;
    padding: 20px;
    min-height: auto;
  }

  .hero-image {
    order: -1;
    width: 100%;
    padding-right: 0;
    padding: 20px 0;
  }

  .hero-image img {
    max-width: 100%;
    transform: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-content {
    order: 2;
    padding-left: 0;
    width: 100%;
  }

  .hero-desc {
    padding-left: 0;
    margin-bottom: 30px;
    margin-top: 20px;
  }

  .hero-footer {
    margin-top: 30px;
    margin-bottom: px;
  }

  .support-line {
    justify-content: center;
    padding-right: 0;
  }

  .email-form {
    flex-direction: column;
    white-space: normal;
    align-items: stretch;
  }

  .email-form span {
    text-align: center;
  }

  .email-input {
    width: 100%;
  }

  .btn-blue {
    width: 100%;
    text-align: center;
  }
  
  .scroll-indicator {
    display: none;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
  }

  .features-grid::after {
    display: none;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .feature-item:nth-child(odd) {
    padding-left: 20px;
  }

  .feature-item:last-child {
    border-bottom: 1px solid #333;
  }

  .feature-icon {
    margin: 0 0 20px 0;
  }

  .feature-icon img {
    margin-left: 0;
    transform: scale(1.5);
  }

  .feature-text h3 {
    margin-left: 0;
  }

  .feature-text ul {
    padding-left: 20px;
  }

  .feature-text ul li {
    margin-left: 20px;
    text-align: left;
  }

  .pores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specs-layout {
    flex-direction: column-reverse;
  }

  .spec-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .specs-image {
    width: 100%;
    padding: 20px;
  }

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

  .footer-divider {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}