/* ══════════════════════════════════════
   CREATEAWITY HERO — Scoped CSS
   All classes prefixed with .cw-
══════════════════════════════════════ */
:root {
  --cw-bg:      #F8FAFF;
  --cw-dark:    #0A0F1E;
  --cw-accent:  #8528e0;
  --cw-accent2: #29147d;
  --cw-muted:   #595959;
  --cw-border:  #D6E0FF;
  --cw-card:    #EEF2FF;
}

/* Custom Cursor */
#cw-cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--cw-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
  mix-blend-mode: multiply;
}
#cw-cursor-ring {
  position: fixed;
  width: 38px; height: 38px;
  border: 2px solid rgba(133,40,224,0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width .35s cubic-bezier(.25,.46,.45,.94),
              height .35s cubic-bezier(.25,.46,.45,.94);
}

/* Hero Section */
#cw-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--cw-bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

#cw-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  display: block;
}

/* Vignette overlay */
#cw-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%,
    transparent 40%,
    rgba(248,250,255,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.cw-hero-content {
  position: relative;
  /* z-index: 2; */
  text-align: center;
  padding: 0 24px;
  max-width: 940px;
  width: 100%;
}

/* Badge */
.cw-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid var(--cw-border);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 700;
  color: var(--cw-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(18px);
  animation: cwReveal .8s .2s cubic-bezier(.25,.46,.45,.94) forwards;
}

.cw-badge .cw-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cw-accent);
  animation: cwBlink 1.8s infinite;
}

/* Headline */
.cw-h1 {
  font-size: clamp(44px, 7.5vw, 100px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: var(--cw-dark);
  margin-bottom: 26px;
  overflow: hidden;
}

.cw-h1 .cw-line {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: cwLineReveal .9s cubic-bezier(.25,.46,.45,.94) forwards;
}

.cw-h1 .cw-line:nth-child(1) { animation-delay: .4s; }
.cw-h1 .cw-line:nth-child(2) { animation-delay: .55s; }
.cw-h1 .cw-line:nth-child(3) { animation-delay: .7s; }

.cw-accent-word {
  background: linear-gradient(270deg, #ef43d5, #2e1482, #ef43d5);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    animation: gradientMove 8s ease infinite !important;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.cw-accent-word svg {
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; overflow: visible;
}

.cw-accent-word svg path {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: cwDraw 1s 1.3s ease forwards;
}

/* Subtext */
.cw-sub {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 400;
  color: var(--cw-muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(14px);
  animation: cwReveal .8s .9s cubic-bezier(.25,.46,.45,.94) forwards;
}

/* Buttons */
.cw-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  animation: cwReveal .8s 1.05s cubic-bezier(.25,.46,.45,.94) forwards;
}

.cw-btn-primary {
  padding: 15px 32px;
  border-radius: 12px;
  background: var(--cw-dark);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.cw-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cw-accent);
  transform: translateX(-101%);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
}

.cw-btn-primary:hover::before { transform: translateX(0); }
.cw-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.35);
}

.cw-btn-primary span { position: relative; z-index: 1; }

.cw-btn-secondary {
  padding: 15px 32px;
  border-radius: 12px;
  background: transparent;
  color: var(--cw-dark) !important;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--cw-border);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .25s, background .25s, transform .25s;
}

.cw-btn-secondary:hover {
  border-color: var(--cw-accent);
  background: var(--cw-card);
  transform: translateY(-2px);
}

/* Trust Badges */
.cw-trust {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: cwReveal .8s 1.35s cubic-bezier(.25,.46,.45,.94) forwards;
  white-space: nowrap;
  flex-wrap: wrap;
  justify-content: center;
}

.cw-trust-divider {
  width: 1px; height: 18px;
  background: var(--cw-border);
}

.cw-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cw-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cw-trust-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--cw-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Scroll indicator */
.cw-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: cwReveal .8s 1.55s ease forwards;
}

.cw-scroll-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cw-muted);
  writing-mode: vertical-rl;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.cw-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--cw-accent), transparent);
  animation: cwScrollPulse 2s infinite;
}

/* Keyframes */
@keyframes cwReveal {
  to { opacity: 1; transform: translateY(0) translateX(0); }
}
@keyframes cwLineReveal {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cwDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes cwBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
@keyframes cwScrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.4; }
}

@media (max-width: 768px) {
  .cw-scroll { display: none; }
  .cw-trust-divider { display: none; }
}

img.ai-img.alignnone.size-full {
    border-radius: 25px;
}