/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #22c55e;
  --accent-hover: #16a34a;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  min-height: 100vh;
  line-height: 1.5;
}

/* Page wrapper */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-image: url('image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Dark overlay for readability */
.page-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Perspective tunnel lines */
.tunnel-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.tunnel-lines::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200vmax;
  height: 200vmax;
  transform: translate(-50%, -50%);
  background: repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 80px,
      rgba(200, 210, 220, 0.15) 80px,
      rgba(200, 210, 220, 0.15) 81px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 80px,
      rgba(200, 210, 220, 0.15) 80px,
      rgba(200, 210, 220, 0.15) 81px
    );
  mask-image: radial-gradient(ellipse 60% 50% at center, transparent 20%, black 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at center, transparent 20%, black 80%);
}

/* Code matrix effect */
.code-matrix {
  position: absolute;
  right: 0;
  top: 0;
  width: 35%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.6;
  display: none;
}

@media (min-width: 1024px) {
  .code-matrix {
    display: block;
  }
}

.code-content {
  padding: 80px 32px 32px;
}

.code-line {
  font-family: monospace;
  font-size: 10px;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1.4;
  animation: codeFade 3s ease-in-out infinite;
}

.code-line:nth-child(odd) {
  animation-delay: 0.5s;
}

.code-line:nth-child(3n) {
  color: #86efac;
}

@keyframes codeFade {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

/* Green geometric decorations */
.green-decoration {
  position: absolute;
  left: 5%;
  top: 30%;
  width: 200px;
  height: 300px;
  pointer-events: none;
  display: none;
}

@media (min-width: 1024px) {
  .green-decoration {
    display: block;
  }
}

.green-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.green-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
}

@media (min-width: 1024px) {
  .header {
    padding: 32px;
  }
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease;
  text-decoration: none;
  color: #ffffff;
}

.social-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.social-btn span {
  font-size: 14px;
  font-weight: 500;
}

/* Main content */
.main-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

@media (min-width: 1024px) {
  .main-content {
    padding: 128px 24px;
  }
}

.main-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .main-title {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .main-title {
    font-size: 60px;
  }
}

.subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 48px;
  font-family: monospace;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .subtitle {
    font-size: 16px;
  }
}

/* CTA Buttons Grid */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 64px;
  max-width: 448px;
  width: 100%;
}

.btn-outline,
.btn-accent {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: #0a0a0a;
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.icon {
  width: 16px;
  height: 16px;
}

.rotate-down {
  transform: rotate(-90deg);
}

/* Partners section */
.partners-section {
  text-align: center;
  margin-bottom: 64px;
}

.partners-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.partner-icon:hover {
  opacity: 1;
}

.partner-svg {
  width: 32px;
  height: 32px;
  color: #ffffff;
}

.partner-icon span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1024px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
  background: rgba(0, 0, 0, 0.5);
}

.feature-card h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-btn {
  width: 40px;
  height: 40px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-icon {
  width: 20px;
  height: 20px;
}
