/* Global */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #020712;
  color: #e6f7ff;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo-text {
  font-family: 'Outfit', sans-serif;
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Layout */
header {
  background-color: rgba(2, 16, 31, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 170, 255, 0.2);
  padding: 12px 7vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-text {
  color: #a8ff60;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.2rem;
}

nav {
  display: flex;
  align-items: center;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: #a8ff60;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #a8ff60;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.mobile-nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

nav a {
  color: #e6f7ff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.7;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

nav a:hover {
  opacity: 1;
  color: #a8ff60;
  background-color: rgba(168, 255, 96, 0.05);
}

nav a.active {
  opacity: 1;
  background-color: rgba(0, 170, 255, 0.1);
  color: #00aaff;
}

.nav-cta {
  border: 1px solid #a8ff60;
  padding: 8px 18px;
  color: #a8ff60;
  opacity: 1;
}

.nav-cta:hover {
  background-color: #a8ff60;
  color: #020712 !important;
}

/* Sections */
main {
  padding: 40px 7vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #ffffff;
  background: linear-gradient(to bottom right, #ffffff, #a8ff60);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.15rem;
  max-width: 600px;
  color: #b5c9d9;
  margin-bottom: 32px;
}

.hero-side .highlight-card {
  background: linear-gradient(135deg, rgba(0, 170, 255, 0.1), rgba(2, 7, 18, 0.5));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 170, 255, 0.3);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.highlight-card h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #a8ff60;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  margin: 80px 0;
}

.split-section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  border-left: 4px solid #00aaff;
  padding-left: 20px;
}

.page-hero {
  max-width: 800px;
  margin: 20px auto 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Cards */
.cards-grid {
  margin: 80px 0;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: rgba(3, 21, 37, 0.5);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0, 170, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(3, 21, 37, 0.8);
  border-color: rgba(168, 255, 96, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h3 {
  font-size: 1.4rem;
  color: #a8ff60;
  margin-bottom: 12px;
}

/* Lists */
.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: #c2d6e4;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #00aaff;
}

.feature-list.ordered {
  counter-reset: item;
}

.feature-list.ordered li {
  counter-increment: item;
}

.feature-list.ordered li::before {
  content: counter(item) ".";
  color: #a8ff60;
}

/* Strip section */
.strip {
  background: linear-gradient(135deg, rgba(2, 7, 18, 0.8), rgba(0, 170, 255, 0.3)), url('../images/bgImage.gif');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  border-radius: 24px;
  padding: 80px 40px;
  margin: 60px 0;
  border: 1px solid rgba(0, 170, 255, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.strip h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn.primary {
  background: #a8ff60;
  color: #020712;
}

.btn.primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(168, 255, 96, 0.4);
}

.btn.secondary {
  background-color: transparent;
  border: 1px solid rgba(168, 255, 96, 0.5);
  color: #a8ff60;
}

.btn.secondary:hover {
  background-color: rgba(168, 255, 96, 0.1);
}

.btn.ghost {
  background-color: transparent;
  border: 1px solid rgba(0, 170, 255, 0.5);
  color: #ffffff;
}

.btn.ghost:hover {
  border-color: #00aaff;
  background-color: rgba(0, 170, 255, 0.1);
}

.btn.full-width {
  width: 100%;
}

/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #00aaff;
  color: #020712;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-5px);
  background-color: #a8ff60;
}

/* Contact Section */
.contact-section {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: rgba(3, 21, 37, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 170, 255, 0.2);
  padding: 40px;
  border-radius: 24px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 0.9rem;
  color: #9fb4c6;
}

.form-field input, .form-field textarea {
  background: rgba(2, 14, 27, 0.5);
  border: 1px solid rgba(0, 170, 255, 0.2);
  padding: 14px;
  border-radius: 12px;
  color: #e6f7ff;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: #a8ff60;
  background: rgba(2, 14, 27, 0.8);
  box-shadow: 0 0 15px rgba(168, 255, 96, 0.1);
}

/* Footer */
footer {
  border-top: 1px solid rgba(0, 170, 255, 0.2);
  padding: 60px 7vw 40px;
  background-color: #02101f;
  margin-top: 80px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-title {
  margin: 0;
  font-weight: 700;
  color: #a8ff60;
  font-size: 1.2rem;
  font-family: 'Outfit', sans-serif;
}

.footer-text {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: #9fb4c6;
  max-width: 300px;
}

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

.footer-link {
  color: #e6f7ff;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-link:hover {
  opacity: 1;
  color: #a8ff60;
}

.footer-link.active {
  color: #a8ff60;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  font-size: 0.85rem;
  color: #7f93a3;
  text-align: center;
}

/* Founders Section */
.founders-section {
  margin: 80px 0;
  text-align: center;
}

.founder-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-image-placeholder {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #00aaff, #a8ff60);
  border-radius: 50%;
  margin-bottom: 24px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.founder-title {
  color: #00aaff;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  margin-top: -8px;
}

/* Responsive */
@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: block;
  }

  nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: rgba(2, 16, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: min(30vh, 10rem) 2em;
    transform: translateX(100%);
    transition: transform 350ms ease-out;
    z-index: 1000;
  }

  nav[data-visible="true"] {
    transform: translateX(0%);
  }

  nav a {
    margin-left: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
  }

  .nav-cta {
    margin-top: 20px;
  }

  header {
    padding: 15px 5vw;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }
}

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

  .hero-content h1 {
    font-size: 2.2rem;
  }
}
