:root {
  --brand-orange: #FF8A30;
  --bg-dark: #0a0a0a;
  --bg-black: #000000;
  --text-light: #f2f2f2;
  --text-dim: #c7c7c7;
  --card-bg: #121212;
  --border: rgba(255, 255, 255, 0.08);
  --seam-image-h: clamp(900px, 100vh, 1500px);
  --seam-shift: 0px;
  --seam-scale: 68%;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg-black);
  color: var(--text-light);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
}

a {
  color: var(--text-light);
  text-decoration: none;
}

.container {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 24px;
  height: 24px;
}

.brand-text {
  font-weight: 700;
}

.nav-right .nav-link {
  opacity: 0.9;
}

.nav-right .nav-link:hover {
  color: var(--brand-orange);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background-image: url('src/image 18.png');
  background-repeat: no-repeat;
  background-size: auto 200vh;
  background-position: top center;
  position: relative;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.68) 100%
  );
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 100vw;
  height: var(--seam-image-h);
  transform: translate(-50%, calc(-50% + var(--seam-shift)));
  background: url('src/Group 256.png') center/var(--seam-scale) no-repeat;
  opacity: 0.98;
  pointer-events: none;
  z-index: 0;
}

.hero-split {
  min-height: 100vh;
  background-image: url('src/image 18.png');
  background-repeat: no-repeat;
  background-size: auto 200vh;
  background-position: bottom center;
  position: relative;
  z-index: 1;
}

.hero-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.68) 100%
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 88px 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.1;
  font-weight: 800;
}

.highlight {
  color: var(--brand-orange);
}

.hero-subtitle {
  margin: 16px auto 0;
  max-width: 760px;
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--text-dim);
}

.hero-cta {
  margin: 22px auto 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  max-width: 520px;
}

/* Form Elements */
.input {
  flex: 1;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  outline: none;
}

.input::placeholder {
  color: #bdbdbd;
}

.btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: var(--brand-orange);
  color: #1a1a1a;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

/* Features Section */
.features {
  background: linear-gradient(to bottom, #434040 0%, #000000 100%);
  padding:30px 0 80px;
  position: relative;
  z-index: 3;
  min-height: 50vh;
}

.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%);
  backdrop-filter: blur(12px) saturate(80%) brightness(0.9);
  -webkit-backdrop-filter: blur(12px) saturate(80%) brightness(0.9);
  pointer-events: none;
  z-index: 1;
}

.features::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: var(--seam-image-h);
  transform: translate(-50%, calc(-50% + var(--seam-shift)));
  background: url('src/Group 256.png') center/var(--seam-scale) no-repeat;
  opacity: 0.98;
  pointer-events: none;
  z-index: 0;
}

.features .container {
  position: relative;
  z-index: 2;
}

.features-title {
  margin: clamp(24px, 6vh, 88px) 0 clamp(24px, 4vh, 48px);
  text-align: center;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.1;
  font-weight: 800;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  display: block;
  background: var(--card-bg);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transform: translateY(0) scale(1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
}

.feature-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, rgba(20, 20, 20, 1) 0%, rgba(12, 12, 12, 1) 100%);
  border-top: 1px solid var(--border);
  padding: 24px 0 60px 0;
  margin-bottom: 24px;
  color: var(--text-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.footer-item {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.footer-item img {
  width: 24px;
  height: 24px;
}

.footer-item:hover {
  color: var(--brand-orange);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 100px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
  
}

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