/* ==========================================
   DigitaleAprobe Landing Page — Styles
   ========================================== */

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-800: #262626;
  --accent-pink: #f472b6;
  --accent-peach: #fb923c;
  --accent-lavender: #c084fc;
  --green: #00c853;
  --gradient: linear-gradient(
    135deg,
    #fecdd3 0%,
    #fda4af 20%,
    #fb923c 50%,
    #e879a8 75%,
    #c084fc 100%
  );
  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

/* ==========================================
   Navigation
   ========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 24px;
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--black);
}

.nav__logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--black);
  transition: width 0.2s ease;
}

.nav__link:hover {
  color: var(--black);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--black);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.arrow {
  font-size: 1em;
  transition: transform 0.2s ease;
}

a:hover .arrow,
button:hover .arrow {
  transform: translate(2px, -2px);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 80%;
  height: 120%;
  background:
    radial-gradient(
      ellipse at 60% 50%,
      #fecdd3 0%,
      #fda4af 25%,
      #fb923c44 50%,
      transparent 70%
    ),
    radial-gradient(ellipse at 80% 30%, #c084fc44 0%, transparent 50%);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__title--accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--black);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Hero Animation */
.hero__animation {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__anim-wrapper {
  position: relative;
  width: 500px;
  height: 420px;
}

.anim-card {
  position: absolute;
  width: 130px;
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 0;
  z-index: 2;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.anim-card--product {
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(-40px);
}

.anim-card--customer {
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(40px);
}

.anim-card__label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 8px;
  text-align: center;
}

.anim-card__image {
  background: var(--gray-100);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.anim-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* AI Center */
.anim-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  z-index: 3;
  opacity: 0;
  will-change: transform, opacity;
}

.anim-center__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid;
}

.anim-center__ring--outer {
  width: 80px;
  height: 80px;
  border-color: var(--accent-pink);
  opacity: 0.3;
}

.anim-center__ring--inner {
  width: 56px;
  height: 56px;
  border-color: var(--accent-lavender);
  opacity: 0.5;
}

.anim-center__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.anim-center__particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity;
}

/* Result */
.anim-result {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 180px;
  background: var(--white);
  border-radius: 20px;
  padding: 16px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.05);
  opacity: 0;
  z-index: 4;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.anim-result__label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 8px;
  text-align: center;
}

.anim-result__image {
  background: var(--gray-100);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  aspect-ratio: 4 / 5;
}

.anim-result__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.anim-result__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--gray-300);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--black);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -50%;
  }
  100% {
    top: 150%;
  }
}

/* ==========================================
   Section Shared Styles
   ========================================== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 56px;
  text-align: center;
}

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

/* ==========================================
   Steps Section
   ========================================== */
.steps {
  padding: 120px 24px;
  background: var(--gray-50);
}

.steps__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.steps__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 0 1 260px;
  text-align: center;
  padding: 32px 24px;
  opacity: 0;
  transform: translateY(30px);
}

.step__number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gray-300);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.step__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: var(--black);
}

.step__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step__text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.step__connector {
  display: flex;
  align-items: center;
  padding-top: 76px;
  opacity: 0;
}

/* ==========================================
   Features Section
   ========================================== */
.features {
  padding: 120px 24px;
}

.features__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--gray-50);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: left;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: var(--gray-200);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card__text {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ==========================================
   Pricing Section
   ========================================== */
.pricing {
  padding: 120px 24px;
  background: var(--gray-50);
}

.pricing__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.pricing__card {
  background: var(--white);
  border-radius: 28px;
  padding: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.pricing__card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: 28px;
  background: var(--gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pricing__card-inner {
  background: var(--white);
  border-radius: 24px;
  padding: 56px 48px;
}

.pricing__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}

.pricing__currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-400);
}

.pricing__number {
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing__unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-left: 8px;
}

.pricing__description {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 40px;
  line-height: 1.7;
}

.pricing__features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-bottom: 40px;
}

.pricing__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.pricing__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: var(--black);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 100px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.pricing__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
  padding: 120px 24px;
}

.contact__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__text {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact__highlights {
  display: flex;
  gap: 40px;
}

.contact__highlight {
  display: flex;
  flex-direction: column;
}

.contact__highlight-number {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.contact__highlight-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--gray-50);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__submit {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--gray-200);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer__logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer__logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--black);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--black);
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
  .hero__anim-wrapper {
    width: 400px;
    height: 360px;
  }

  .steps__grid {
    flex-wrap: wrap;
    gap: 24px;
  }

  .step__connector {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .nav__links--open {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .hero {
    padding: calc(var(--nav-height) + 24px) 24px 60px;
    min-height: auto;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__animation {
    order: -1;
  }

  .hero__anim-wrapper {
    width: 320px;
    height: 300px;
    margin: 0 auto;
  }

  .anim-card {
    width: 100px;
    padding: 8px;
    border-radius: 12px;
  }

  .anim-result {
    width: 140px;
    padding: 12px;
    border-radius: 16px;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .steps,
  .features,
  .pricing,
  .contact {
    padding: 80px 24px;
  }

  .steps__grid {
    flex-direction: column;
    align-items: center;
  }

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

  .contact__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .section-label {
    display: block;
    text-align: center;
  }

  .contact__highlights {
    justify-content: center;
  }

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

  .footer__top {
    flex-direction: column;
    gap: 20px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .pricing__card-inner {
    padding: 40px 24px;
  }

  .pricing__number {
    font-size: 3.5rem;
  }

  .pricing__features {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero__anim-wrapper {
    width: 280px;
    height: 260px;
  }

  .anim-card {
    width: 85px;
    padding: 6px;
  }

  .anim-card__label {
    font-size: 0.5rem;
  }

  .anim-center {
    width: 60px;
    height: 60px;
  }

  .anim-center__ring--outer {
    width: 60px;
    height: 60px;
  }

  .anim-center__ring--inner {
    width: 42px;
    height: 42px;
  }

  .anim-center__icon {
    width: 32px;
    height: 32px;
    font-size: 0.65rem;
  }

  .anim-result {
    width: 120px;
    padding: 8px;
  }

  .contact__highlights {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
