* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Sora", sans-serif;
  color: #fff;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(124, 92, 255, 0.15),
      transparent 40%
    ),
    radial-gradient(circle at 80% 0%, rgba(91, 63, 255, 0.15), transparent 40%),
    #0f172a;
}

/* GRID OVERLAY */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ANIMATED GLOW */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(124, 92, 255, 0.08),
    transparent 60%
  );
  animation: moveGlow 10s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes moveGlow {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, -50px);
  }
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAV */
.nav {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.logo .e {
  display: inline-block;
  transform: rotate(-10deg);
  color: #7c5cff;
}

.logo span {
  color: #7c5cff;
}
.logo .e,
.logo span {
  color: #7c5cff;
}

nav a {
  margin: 0 15px;
  color: #aaa;
  text-decoration: none;
}

nav a:hover {
  color: #fff;
}

/* BUTTONS */

.btn-primary {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #7c5cff, #5b3fff);
  padding: 12px 20px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.3);
}

.btn-secondary {
  margin-left: 10px;
  color: #aaa;
}

/* HERO */

.hero {
  padding: 80px 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(124, 92, 255, 0.2),
    transparent 50%
  );
}

.hero-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}

.hero-left h1 {
  font-size: 56px;
  line-height: 1.2;
  margin: 20px 0;
}

.sub {
  color: #aaa;
  margin-bottom: 20px;
}

.micro {
  color: #666;
  font-size: 14px;
}

.proof span {
  display: block;
  margin-top: 10px;
  color: #ccc;
}

.mockup {
  position: relative; /* FIX */
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.mockup img {
  width: 100%;
  border-radius: 15px;
}

.badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #7c5cff;
  padding: 10px;
  border-radius: 10px;
}

/* PROBLEM */

.problem {
  padding: 80px 0;
  text-align: center;
}

.problem .text {
  margin: 20px 0;
  color: #aaa;
}

.problem ul {
  list-style: none;
}

.problem li {
  margin: 10px 0;
}

/* SOLUTION */

.solution {
  padding: 80px 0;
  text-align: center;
}

.grid-3 {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.grid-3 div {
  background: #1e293b;
  padding: 30px;
  border-radius: 15px;
  flex: 1;
}

/* CASES */

.cases {
  padding: 100px 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.case-card {
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
}
.case-card img {
  filter: contrast(1.05) brightness(1.05);
}

.case-card:hover {
  transform: translateY(-5px);
}
.case-card:hover img {
  transform: scale(1.05);
}

.case-card img {
  transition: 0.4s;
}

.case-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-body {
  padding: 20px;
}

.case-body h3 {
  margin-bottom: 10px;
}

.case-body p {
  color: #aaa;
}

.badge {
  display: inline-block;
  margin-top: 10px;
  background: #7c5cff;
  padding: 6px 12px;
  border-radius: 10px;
}

/* PROCESS */

.process {
  padding: 80px 0;
  text-align: center;
}

.grid-4 {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.grid-4 div {
  flex: 1;
  background: #1e293b;
  padding: 30px;
  border-radius: 15px;
}

/* CTA */

.cta + .micro {
  margin-top: 8px;
}

.cta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.micro {
  color: #888;
  margin-bottom: 20px;
  font-size: 13px;

  line-height: 1.4;
}

.cta-final {
  padding: 100px 0;
  text-align: center;
}
.cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

/* form */
.contact-form {
  max-width: 500px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #1e293b;
  color: #fff;
}

.contact-form textarea {
  min-height: 120px;
}

/* FOOTER */

.footer {
  padding: 40px 0;
  text-align: center;
  color: #666;
}

/* DIVIDER */
section {
  scroll-margin-top: 100px;
}
.section-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(124, 92, 255, 0.5),
    transparent
  );
  margin: 80px 0;
}

/* MOBILE */

@media (max-width: 768px) {
  .hero-inner,
  .grid-3,
  .grid-4 {
    flex-direction: column;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .hero-left h1 {
    font-size: 36px;
  }
}

.hero-left {
  position: relative;
  z-index: 2;
}
.hero-left * {
  position: relative;
  z-index: 2;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  padding: 20px 0;

  background: transparent;
  transition: all 0.3s ease;
}

/* stan po scrollu */
.nav.scrolled {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  padding: 12px 0;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav.scrolled .logo {
  font-size: 20px;
}
nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #7c5cff;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  padding: 20px 0;

  background: transparent;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
}

.hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #1e293b;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.hero-left,
.hero-right {
  flex: 1;
}
.hero-card img {
  width: 100%;
  display: block;
}

.hero-card-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #7c5cff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}

.hero-card-text {
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
}
