/* ============================================
   CutFlow Landing — style.css
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --purple-950: #1a0533;
  --purple-900: #2d1057;
  --purple-800: #3b1278;
  --purple-700: #5b21b6;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-300: #c4b5fd;
  --pink-500:   #ec4899;
  --accent:     #a855f7;
  --accent-light: #c084fc;
  --white:      #ffffff;
  --white-70:   rgba(255,255,255,0.7);
  --white-40:   rgba(255,255,255,0.4);
  --white-15:   rgba(255,255,255,0.15);
  --white-08:   rgba(255,255,255,0.08);
  --font: 'Inter', sans-serif;
}

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font);
  background: var(--purple-950);
  color: var(--white);
}

/* ─── Background ─── */
body {
  background: radial-gradient(ellipse 120% 100% at 60% -10%, #3b1278 0%, #2d1057 40%, #1a0533 80%);
}

/* Canvas particles */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ─── Geometric shapes ─── */
.bg-shapes {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.12;
}

.shape-1 {
  width: 320px;
  height: 370px;
  background: linear-gradient(135deg, #7c3aed, transparent);
  clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%);
  top: -60px;
  left: -80px;
  transform: rotate(-10deg);
  animation: floatShape 14s ease-in-out infinite alternate;
}

.shape-2 {
  width: 240px;
  height: 280px;
  background: linear-gradient(135deg, #5b21b6, transparent);
  clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%);
  top: 60px;
  left: 60px;
  opacity: 0.08;
  animation: floatShape 18s ease-in-out infinite alternate-reverse;
}

.shape-3 {
  width: 280px;
  height: 320px;
  background: linear-gradient(135deg, #a855f7, transparent);
  clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%);
  bottom: -40px;
  left: -60px;
  animation: floatShape 16s ease-in-out infinite alternate;
}

.shape-4 {
  width: 180px;
  height: 200px;
  background: linear-gradient(135deg, #7c3aed, transparent);
  clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%);
  top: 30%;
  right: 5%;
  opacity: 0.1;
  animation: floatShape 20s ease-in-out infinite alternate-reverse;
}

.shape-5 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.15), transparent 70%);
  bottom: -100px;
  right: -120px;
}

.diagonal-line {
  position: absolute;
  width: 2px;
  height: 200%;
  background: linear-gradient(to bottom, transparent, rgba(168,85,247,0.25), transparent);
  transform-origin: top center;
}

.line-1 {
  left: 55%;
  top: -50%;
  transform: rotate(35deg);
}

.line-2 {
  left: 70%;
  top: -50%;
  transform: rotate(35deg);
  opacity: 0.5;
}

@keyframes floatShape {
  from { transform: translateY(0px) rotate(-10deg); }
  to   { transform: translateY(20px) rotate(-8deg); }
}

/* ─── Layout ─── */
.landing {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 48px;
}

/* ─── Header / Logo ─── */
.header {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--white-15);
  animation: fadeDown 0.8s ease both;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-text {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1;
}

.logo-text sup {
  font-size: 0.45em;
  font-weight: 600;
  vertical-align: super;
  opacity: 0.8;
}

.logo-icon {
  width: clamp(44px, 7vw, 64px);
  filter: drop-shadow(0 0 12px rgba(168,85,247,0.7));
  animation: iconGlow 3s ease-in-out infinite alternate;
}

.logo-icon img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes iconGlow {
  from { filter: drop-shadow(0 0 8px rgba(168,85,247,0.5)); }
  to   { filter: drop-shadow(0 0 20px rgba(168,85,247,0.9)); }
}

.tagline {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: var(--white-70);
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ─── Hero ─── */
.hero {
  flex: 1;
  width: 100%;
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 40px;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-light);
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.35);
  padding: 6px 18px;
  border-radius: 999px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  animation: pulseDot 1.6s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

.highlight {
  background: linear-gradient(90deg, #c084fc, #a855f7, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--white-70);
  line-height: 1.7;
  max-width: 600px;
}

.desktop-br { display: inline; }

/* ─── Progress bar ─── */
.progress-wrap {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--white-70);
  font-weight: 500;
}

.progress-pct {
  color: var(--accent-light);
  font-weight: 700;
}

.progress-track {
  position: relative;
  width: 100%;
  height: 10px;
  background: var(--white-08);
  border-radius: 999px;
  overflow: visible;
  border: 1px solid var(--white-15);
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.progress-glow {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(192,132,252,0.3), 0 0 12px 4px rgba(192,132,252,0.5);
  animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(192,132,252,0.3), 0 0 12px 4px rgba(192,132,252,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(192,132,252,0.15), 0 0 20px 8px rgba(192,132,252,0.4); }
}

/* ─── Features ─── */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white-08);
  border: 1px solid var(--white-15);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-70);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
  cursor: default;
}

.feature:hover {
  background: rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.5);
  color: var(--white);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1rem;
}

/* ─── CTA Footer ─── */
.cta-footer {
  width: 100%;
  max-width: 860px;
  margin-top: auto;
  padding-top: 40px;
  border-top: 1px solid var(--white-15);
  animation: fadeUp 1s 0.5s ease both;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.cta-label {
  font-size: 0.9rem;
  color: var(--white-40);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-contact {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--white);
}

.cta-contact strong {
  font-weight: 700;
  margin-right: 6px;
}

.cta-email {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  display: inline-block;
  transition: color 0.25s;
}

.cta-email::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent-light);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.cta-email:hover {
  color: var(--purple-300);
}

.cta-email:hover::after {
  width: 100%;
}

.cta-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white-70);
  background: var(--white-08);
  border: 1px solid var(--white-15);
  padding: 5px 14px;
  border-radius: 999px;
}

/* ─── Animations ─── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .desktop-br { display: none; }
  .hero { padding: 40px 0 30px; }
  .features { flex-direction: column; align-items: stretch; }
  .feature { justify-content: center; }
}
