/* ==================================================
   Webys — one page site
   Light, minimalist, purple accent
================================================== */

:root {
  --purple: #7c3aed;
  --purple-dark: #6926d1;
  --purple-light: #a855f7;
  --purple-tint: #f1e8ff;
  --teal: #14b8a6;
  --ink: #1a1523;
  --ink-soft: #574f66;
  --muted: #8a8296;
  --bg: #ffffff;
  --bg-alt: #f4eefc;
  --bg-dark: #150f22;
  --border: #e8e1f4;
  --shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
  --radius: 20px;
  --max-width: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Floating network / "web" canvas — fixed to the viewport so it shows
   through every translucent section across the whole site, not just the hero */
#network-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--purple); }

/* -------------------- Buttons -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.35);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}

/* -------------------- Header -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  margin-right: auto;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.96rem;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--purple); }

.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
}

/* -------------------- Sections -------------------- */

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.62);
}

.section-alt {
  background: rgba(244, 238, 252, 0.62);
}

.section-tag {
  color: var(--purple);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.section-lead {
  color: var(--ink-soft);
  max-width: 640px;
  font-size: 1.05rem;
  margin: 0 0 48px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* -------------------- Hero -------------------- */

.hero {
  position: relative;
  z-index: 1;
  padding: 150px 0 120px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(251, 249, 255, 0.22) 0%, rgba(255, 255, 255, 0.3) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-glow {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-glow-teal {
  position: absolute;
  bottom: -200px;
  left: -140px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.14), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.eyebrow {
  display: inline-block;
  background: var(--purple-tint);
  color: var(--purple-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* -------------------- Grids / Cards -------------------- */

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(124, 58, 237, 0.25);
}

.card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

.section-alt .card { background: #fff; }

/* Page header used on the sub-pages (services, process, showcase) */

.page-header {
  position: relative;
  z-index: 1;
  padding: 150px 0 70px;
  background: linear-gradient(180deg, rgba(251, 249, 255, 0.22) 0%, rgba(255, 255, 255, 0.3) 100%);
}

.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  transition: color 0.15s ease;
}

.back-link:hover { color: var(--purple); }

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.page-header .hero-lead { margin: 0; }

/* -------------------- Service list -------------------- */
/* Full-width editorial rows instead of a grid of icon cards */

.service-list {
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.25s ease;
}

.service-row:hover { padding-left: 12px; }

.service-num {
  font-family: "Courier New", monospace;
  font-weight: 300;
  font-size: 2rem;
  line-height: 1;
  color: var(--border);
  transition: color 0.25s ease;
}

.service-row:nth-child(even) .service-num { color: var(--border); }
.service-row:hover .service-num { color: var(--purple); }
.service-row:nth-child(even):hover .service-num { color: var(--teal); }

.service-body h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.service-row:hover .service-body h3 { color: var(--purple); }
.service-row:nth-child(even):hover .service-body h3 { color: #0f766e; }

.service-body p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 640px;
}

/* -------------------- Audience bar -------------------- */
/* Plain columns split by hairlines instead of separate boxed cards */

.audience-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.audience-item {
  padding: 0 32px;
  border-left: 1px solid var(--border);
}

.audience-item:first-child {
  padding-left: 0;
  border-left: none;
}

.audience-item h3 { margin: 0 0 10px; font-size: 1.1rem; }
.audience-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* -------------------- Process timeline -------------------- */

.timeline {
  position: relative;
  padding-left: 48px;
  margin-bottom: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -48px;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple-tint);
  color: var(--purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.timeline-item:nth-child(even) .timeline-marker {
  background: rgba(20, 184, 166, 0.15);
  color: #0f766e;
}

.timeline-body h3 { margin: 0 0 8px; font-size: 1.1rem; }
.timeline-body p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

.not-included {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 780px;
  margin: 0 auto;
}

.not-included strong { color: var(--ink-soft); }

/* -------------------- Showcase -------------------- */

.showcase {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-bottom: 70px;
}

.showcase-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.browser-bar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.browser-url {
  margin: 0 auto;
  font-size: 0.82rem;
  color: var(--muted);
  background: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.browser-refresh {
  color: var(--muted);
  font-size: 0.95rem;
}

.showcase-frame iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}

/* Floating project card overlapping the bottom-right corner of the frame */
.showcase-card {
  position: absolute;
  right: 32px;
  bottom: -40px;
  width: 300px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(124, 58, 237, 0.2);
  padding: 28px;
}

.showcase-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple-tint);
  color: var(--purple-dark);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.showcase-card h3 { font-size: 1.15rem; margin: 0 0 8px; }
.showcase-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 18px; }
.showcase-card .tags { margin: 0 0 20px; }
.showcase-card .btn { width: 100%; }

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 24px;
}

.tags li {
  background: var(--purple-tint);
  color: var(--purple-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

/* -------------------- Pricing -------------------- */

.price-card {
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
  overflow: hidden;
}

.price-card .btn { margin-top: auto; align-self: flex-start; }

/* White (non-featured) cards echo the accent-bar reveal used on feature cards/steps */
.price-card:not(.price-featured)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--purple);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-card:not(.price-featured):hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.price-card:not(.price-featured) h3 {
  transition: color 0.2s ease;
}

.price-card:not(.price-featured):hover h3 {
  color: var(--purple);
}

.price-featured {
  border: 1.5px solid var(--purple);
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, #fff, var(--purple-tint));
  overflow: visible;
}

.badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

.price {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 4px 0 20px;
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.check-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 800;
}

/* -------------------- Contact -------------------- */

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-text p { color: var(--ink-soft); max-width: 480px; }

.contact-facts {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.field-index {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 1.05rem;
  padding: 8px 2px 12px;
  border: none;
  border-bottom: 1.5px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--purple);
}

.field-accent-teal .field-index { color: var(--teal); }

.field-accent-teal textarea:focus {
  border-color: var(--teal);
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.form-note.form-note-ok { color: var(--teal); font-weight: 600; }
.form-note.form-note-error { color: #d1345b; font-weight: 600; }

/* Honeypot — invisible to people, catches basic bots that fill every field */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}



/* -------------------- Footer -------------------- */

.site-footer {
  padding: 48px 0;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

.site-footer .logo { color: #fff; }
.site-footer .accent { color: var(--purple-light); }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  gap: 24px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-nav a:hover { color: #fff; }

.footer-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  width: 100%;
  text-align: center;
  order: 3;
}

/* -------------------- Responsive -------------------- */

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .site-header.nav-open .header-cta {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 210px);
    left: 24px;
  }

  .grid-3 { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .audience-bar { grid-template-columns: 1fr; gap: 24px; }
  .audience-item {
    padding: 0 0 0 20px;
    border-left: 1px solid var(--border);
  }
  .audience-item:first-child { padding-left: 20px; border-left: 1px solid var(--border); }
  .showcase-card {
    position: static;
    width: auto;
    margin: -40px 20px 0;
  }
  .showcase { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .hero { padding: 110px 0 70px; }
  .page-header { padding: 120px 0 50px; }
  .hero-actions .btn { width: 100%; }
  .footer-inner { justify-content: center; text-align: center; }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .service-num { font-size: 1.4rem; }
}

/* -------------------- Cookie consent -------------------- */

.link-btn,
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--purple-light);
  text-decoration: underline;
  cursor: pointer;
}

.footer-link-btn {
  color: rgba(255, 255, 255, 0.55);
}

.footer-link-btn:hover,
.link-btn:hover {
  color: var(--purple);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(21, 15, 34, 0.12);
  animation: cookie-slide-up 0.35s ease;
}

@keyframes cookie-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.cookie-banner-text { flex: 1 1 420px; }

.cookie-banner-text h2 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(21, 15, 34, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-modal-overlay[hidden],
.cookie-banner[hidden] {
  display: none;
}

.cookie-modal {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: var(--shadow);
}

.cookie-modal h2 {
  font-size: 1.4rem;
  margin: 0 0 12px;
}

.cookie-modal > p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 24px;
}

.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cookie-modal-close:hover { border-color: var(--purple); color: var(--purple); }

.cookie-category {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.cookie-category-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cookie-category-head h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.cookie-category-head p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex: none;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.switch-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.switch input:checked + .switch-slider {
  background: var(--purple);
}

.switch input:checked + .switch-slider::before {
  transform: translateX(18px);
}

.switch input:disabled + .switch-slider {
  background: var(--purple-light);
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-details {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cookie-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.cookie-details p { margin: 10px 0 0; }

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 560px) {
  .cookie-banner-inner { padding: 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }
  .cookie-modal { padding: 28px; }
  .cookie-modal-actions { flex-wrap: wrap; }
  .cookie-modal-actions .btn { width: 100%; }
}

