/* styles.css - Complete stylesheet */

:root {
  --c-cyan: #4CD3FF;
  --c-teal: #0072A3;
  --c-blue: #2B8CFF;
  --c-ink: #fff;
  --c-ink-weak: #b0bec5;
  --c-bg: #040d1a;
  --c-surface: #050e1c;
  --c-surface-2: rgba(26, 41, 66, .6);
  --c-border: rgba(77, 208, 225, .12);
  --bg-top: #0a1222;
  --bg-bot: #0b1630;
  --text-grad-1: #4CD3FF;
  --text-grad-2: #2B8CFF;
  --shadow-1: 0 2px 10px rgba(0, 0, 0, .5);
  --shadow-2: 0 20px 40px rgba(0, 0, 0, .30);
  --glow-cta: 0 8px 25px rgba(0, 114, 255, .35), 0 0 30px rgba(0, 198, 255, .20);
  --r-lg: 15px;
  --r-md: 12px;
  --space: clamp(16px, 2vw, 24px);
  --container: 1400px
}


/* Page background */
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 70% -10%, #0e1b34 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bot));
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #cfe7ff;
}

/* Header - matching pricing.html exactly */
.willway-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: clamp(12px, 2.5vw, 24px) clamp(24px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(4, 13, 26, 0.92), rgba(7, 18, 36, 0.92));
  backdrop-filter: saturate(120%) blur(6px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35), inset 0 -1px 0 rgba(76, 211, 255, 0.08);
  transition: all 0.3s ease;
}

/* Brand container - matching pricing.html exactly */
.willway-brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 16px);
  width: 100%;
  justify-content: space-between;
}

/* Brand link - tight overlap (TRANSFORM SCALE APPROACH) */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  justify-content: flex-start;
  position: relative;
  transform-origin: left center;
  transition: transform 0.3s ease;
}

/* Logo - positioned behind text */
.willway-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Brand name with gradient - overlaps logo */
.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0;
  margin-left: -10px;
  background: linear-gradient(90deg, var(--text-grad-1), var(--text-grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

/* Nav links - matching pricing.html */
.nav-links {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
  list-style: none;
}

.nav-links a {
  color: #b0bec5;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4CD3FF, #2B8CFF);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: #4CD3FF;
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

/* Demo section */
.demo {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 6rem 2rem;
  color: #a8c8ff;
  text-align: center;
}

/* Mobile adjustments - TRANSFORM SCALE: Scale to 95% */
@media (max-width: 768px) {
  .willway-brand {
    flex-direction: column;
    gap: 16px;
  }

  .brand-link {
    transform: scale(0.95);
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Extra small mobile - TRANSFORM SCALE: 88.9% (32px logo equivalent) */
@media (max-width: 480px) {
  .brand-link {
    transform: scale(0.889);
  }
}

/* Very small screens - TRANSFORM SCALE: 77.8% (28px logo equivalent) */
@media (max-width: 375px) {
  .brand-link {
    transform: scale(0.778);
  }
}


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

html,
body {
  background: radial-gradient(1200px 700px at 70% -10%, #0e1b34 0%, transparent 60%), linear-gradient(180deg, var(--bg-top), var(--bg-bot));
  color: var(--c-ink);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Inter, Roboto, Arial, sans-serif;
  overflow-x: hidden
}

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

a,
button {
  outline: none
}

:focus-visible {
  outline: 3px solid rgba(76, 211, 255, .6);
  outline-offset: 2px;
  border-radius: 8px
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 calc(var(--space)*1.5)
}

.grad-text {
  background: linear-gradient(180deg, var(--c-cyan) 0%, var(--c-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px #002B4D)
}

.muted {
  color: var(--c-ink-weak)
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(8px)
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A0F25 0%, #101D3B 100%)
}

#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(77, 208, 225, .05) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(77, 208, 225, .05) 0%, transparent 50%), radial-gradient(circle at 45% 25%, rgba(77, 208, 225, .03) 0%, transparent 50%), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 160" fill="none"><defs><linearGradient id="g" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="%234CD3FF"/><stop offset="100%" stop-color="%230072A3"/></linearGradient></defs><polygon points="50,5 90,45 50,85 10,45" fill="url(%23g)" opacity="0.08"/><polygon points="50,75 90,115 50,155 10,115" fill="url(%23g)" opacity="0.08"/><polygon points="50,5 90,45 50,85 10,45" stroke="url(%23g)" stroke-width="8" opacity="0.12"/><polygon points="50,75 90,115 50,155 10,115" stroke="url(%23g)" stroke-width="8" opacity="0.12"/></svg>') no-repeat center;
  background-size: auto, auto, auto, clamp(180px, 22vw, 280px);
  animation: heroFloat 22s ease-in-out infinite;
  pointer-events: none
}

.hero .content {
  max-width: 1000px;
  position: relative;
  z-index: 1;
  padding: 80px 0 64px;
  animation: fadeInUp 1s ease-out
}

.hero h1 {
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.1;
  margin-bottom: 30px;
  padding: 12px 0;
  animation: fadeInUp 1s ease-out .2s backwards
}

.hero p {
  color: var(--c-ink-weak);
  font-size: clamp(18px, 2.1vw, 22px);
  margin-top: 12px;
  margin-bottom: 38px;
  animation: fadeInUp 1s ease-out .4s backwards
}

.btn {
  padding: 18px 45px;
  border: none;
  border-radius: 8px;
  font-size: 1.12rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  position: relative;
  overflow: hidden
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transform: translate(-50%, -50%);
  transition: width .6s ease, height .6s ease
}

.btn:hover::before {
  width: 300px;
  height: 300px
}

.btn--primary {
  background: linear-gradient(90deg, #00C6FF 0%, #0072FF 100%);
  color: #fff;
  box-shadow: var(--glow-cta)
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 114, 255, .45), 0 0 40px rgba(0, 198, 255, .25)
}

.btn--primary:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none
}

.btn--ghost {
  background: rgba(77, 208, 225, .08);
  color: #fff;
  border: 1.5px solid rgba(77, 208, 225, .6)
}

.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--c-cyan);
  box-shadow: 0 10px 30px rgba(77, 208, 225, .3)
}

.card {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  padding: 48px 40px;
  transition: transform .4s ease, box-shadow .4s ease, background .4s ease, border-color .4s ease;
  position: relative;
  overflow: hidden
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(76, 211, 255, .1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none
}

.card:hover::before {
  opacity: 1
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2), 0 0 40px rgba(76, 211, 255, .15);
  background: rgba(26, 41, 66, .8);
  border-color: rgba(77, 208, 225, .3)
}

.iconbox {
  width: 90px;
  height: 90px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(77, 208, 225, .3);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: float 3s ease-in-out infinite
}

.card:hover .iconbox {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(76, 211, 255, .5);
  animation: none
}

.iconbox svg {
  transition: transform .3s ease
}

.card:hover .iconbox svg {
  transform: scale(1.1)
}

.wm-watermark {
  position: relative;
  overflow: hidden
}

.section {
  padding: 80px 0
}

.section--alt {
  background: var(--c-surface);
  position: relative
}

.section--alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 211, 255, .3), transparent)
}

.section-header {
  text-align: center;
  margin-bottom: 56px
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  background: linear-gradient(90deg, var(--text-grad-1), var(--text-grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(76, 211, 255, .12)
}

.section-subtitle {
  color: var(--c-ink-weak);
  max-width: 720px;
  margin: 10px auto 0
}

.grid {
  display: grid;
  gap: 40px
}

.grid--services {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr))
}

.two-col {
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 1fr
}

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

.stat {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  transition: background .3s ease, transform .3s ease;
  position: relative
}

.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(76, 211, 255, .1), rgba(43, 140, 255, .1));
  opacity: 0;
  transition: opacity .3s ease
}

.stat:hover::before {
  opacity: 1
}

.stat:hover {
  background: rgba(77, 208, 225, .05);
  transform: scale(1.05)
}

.stat__num {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--c-cyan);
  text-shadow: 0 0 20px rgba(77, 208, 225, .5);
  position: relative
}

.stat__label {
  color: var(--c-ink-weak);
  font-weight: 600;
  position: relative
}

.form-group {
  margin-bottom: 24px
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--c-ink);
  font-weight: 600;
  font-size: 0.95rem
}

.form-label.required::after {
  content: ' *';
  color: var(--c-cyan)
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(26, 41, 66, .4);
  border: 1.5px solid rgba(77, 208, 225, .3);
  border-radius: 8px;
  color: var(--c-ink);
  font-size: 1rem;
  transition: all .3s ease
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-cyan);
  background: rgba(26, 41, 66, .6);
  box-shadow: 0 0 0 3px rgba(76, 211, 255, .1)
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit
}

.form-error {
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px
}

.form-success {
  background: rgba(76, 211, 255, .1);
  border: 1.5px solid var(--c-cyan);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin-top: 24px
}

.form-success h3 {
  color: var(--c-cyan);
  margin-bottom: 8px
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--c-cyan)
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--c-ink-weak);
  line-height: 1.5
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

footer {
  border-top: 1px solid #2a3f5f;
  text-align: center;
  color: var(--c-ink-weak);
  padding: 40px 0;
  position: relative
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76, 211, 255, .5), transparent)
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(77, 208, 225, .1);
  border: 1px solid rgba(77, 208, 225, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden
}

.social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(76, 211, 255, .3), rgba(43, 140, 255, .3));
  opacity: 0;
  transition: opacity .3s ease
}

.social-links a:hover::before {
  opacity: 1
}

.social-links a:hover {
  background: rgba(77, 208, 225, .2);
  border-color: var(--c-cyan);
  transform: translateY(-3px)
}

.social-links a svg {
  position: relative;
  z-index: 1;
  transition: transform .3s ease
}

.social-links a:hover svg {
  transform: scale(1.15)
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #4CD3FF, #26c6da, #00bcd4);
  z-index: 9999;
  box-shadow: 0 0 10px rgba(77, 208, 225, .5);
  will-change: width
}

.progress-ring {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  z-index: 100;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none
}

.progress-ring.visible {
  opacity: 1;
  pointer-events: auto
}

.progress-ring:hover {
  transform: scale(1.1)
}

.progress-ring circle {
  transition: stroke-dashoffset .3s ease
}

@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 50px
  }

  .section {
    padding: 60px 0
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 92vh
  }

  .hero .content {
    padding: 98px 20px 68px
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 50px);
    padding: 12px 0;
    margin-bottom: 24px
  }

  .hero p {
    font-size: clamp(16px, 4vw, 19px);
    margin-bottom: 28px;
    padding: 0 10px
  }

  .grid--services {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .section {
    padding: 50px 0
  }

  .section-header {
    margin-bottom: 40px
  }

  .two-col {
    gap: 40px
  }

  .card {
    padding: 32px 24px
  }

  .iconbox {
    width: 70px;
    height: 70px;
    margin-bottom: 20px
  }

  .btn {
    padding: 14px 32px;
    font-size: 1rem
  }

  .progress-ring {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px
  }

  .form-grid {
    grid-template-columns: 1fr !important
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 80vh
  }

  .hero .content {
    padding: 50px 16px 32px
  }

  .hero h1 {
    font-size: clamp(28px, 9vw, 36px);
    padding: 6px 0;
    margin-bottom: 16px
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 280px
  }

  .section {
    padding: 40px 0
  }

  .section-header {
    margin-bottom: 32px
  }

  .two-col {
    gap: 32px
  }

  .card {
    padding: 28px 20px
  }

  .iconbox {
    width: 60px;
    height: 60px
  }

  .stat__num {
    font-size: 2.5rem
  }

  .social-links a {
    width: 36px;
    height: 36px
  }

  footer {
    padding: 32px 0
  }
}

@media (max-width: 375px) {
  .hero {
    min-height: 75vh
  }

  .hero .content {
    padding: 40px 12px 28px
  }

  .hero h1 {
    font-size: 26px;
    margin-bottom: 12px
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 18px
  }

  .btn {
    padding: 11px 24px;
    font-size: 0.9rem
  }

  .section {
    padding: 36px 0
  }

  .two-col {
    gap: 28px
  }
}

/* =========================================
   New Conversion Sections
   ========================================= */

/* Logo Ticker (Social Proof) */
.logo-section {
  padding: 40px 0;
  background: rgba(4, 13, 26, 0.5);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.logo-ticker {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  flex-wrap: wrap;
}

.logo-item {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-ink-weak);
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.logo-item:hover {
  filter: grayscale(0%);
  color: var(--c-ink);
  transform: scale(1.05);
}

/* Process Section (How It Works) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-card {
  position: relative;
  padding: 30px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: transform 0.3s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-cyan);
}

.process-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(76, 211, 255, 0.1);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.process-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--c-ink);
}

/* FAQ Accordion */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(77, 208, 225, 0.3);
}

.faq-summary {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  list-style: none;
  /* Hide default triangle */
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--c-cyan);
  transition: transform 0.3s ease;
}

details[open] .faq-summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 24px 24px;
  color: var(--c-ink-weak);
  line-height: 1.6;
  border-top: 1px solid transparent;
}

details[open] .faq-content {
  border-top-color: var(--c-border);
  padding-top: 16px;
}