@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  --wc-primary: #383ae7;
  --wc-accent: #0ea5e9;
  --wc-dark: #0f172a;
  --wc-dark-hover: #1e293b;
  --wc-text: #475569;
  --wc-muted: #64748b;
  --wc-white: #ffffff;
  --wc-light: #f8fafc;
  --wc-soft: #f1f5f9;
  --wc-primary-soft: #eef2ff;
  --wc-border: #e6eaf2;
  --wc-border-soft: #e2e8f0;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--wc-dark);
  background: #f5f7fb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

main {
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

/* Full-page scroll behaviour for anchor links with a fixed header */
html {
  scroll-behavior: smooth;
}

/* Decorative image placeholders (replace external stock photos) */
.wc-img-ph {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 58, 231, 0.45), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(14, 165, 233, 0.5), transparent 45%),
    linear-gradient(135deg, #07111f 0%, #101d35 48%, #182747 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-img-ph::after {
  content: "";
  position: absolute;
  width: 46%;
  height: 46%;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(-6deg);
}

.wc-img-ph span {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  padding: 8px;
}

/* Sized placeholders for dead stock-photo slots */
.wcit-hero-image .wc-img-ph,
.wcm365-hero-image .wc-img-ph,
.wcemail-hero-image .wc-img-ph,
.wccontact-hero-image .wc-img-ph {
  width: 100%;
  height: 460px;
  border-radius: 22px;
}

.wcit-why-image .wc-img-ph,
.wcemail-feature-image .wc-img-ph {
  width: 100%;
  height: 420px;
}

.wcit-faq-image .wc-img-ph {
  width: 100%;
  height: 360px;
  margin-top: 24px;
  border-radius: 28px;
}

.wcm365-card-image .wc-img-ph {
  width: 100%;
  height: 210px;
}

/* ==== Contact form (Wccontact page, replaces Fluent Forms) ==== */
.wccontact-form-shell {
  width: 100%;
}

.wccontact-form {
  display: grid;
  gap: 16px;
}

.wccontact-form .wc-form-row {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .wccontact-form .wc-form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.wccontact-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--wc-dark);
}

.wccontact-form input,
.wccontact-form select,
.wccontact-form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--wc-dark);
  background: var(--wc-light);
  border: 1px solid var(--wc-border-soft);
  border-radius: 14px;
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

.wc-form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.wccontact-form .wc-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.55;
}

.wccontact-form .wc-form-consent input {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--wc-primary);
}

.wccontact-form .wc-form-consent a {
  color: #4338ca;
  font-weight: 800;
  text-underline-offset: 3px;
}

.wccontact-form[aria-busy="true"] {
  opacity: 0.78;
}

.wccontact-form input:focus,
.wccontact-form select:focus,
.wccontact-form textarea:focus {
  outline: none;
  border-color: var(--wc-primary);
  box-shadow: 0 0 0 3px rgba(56, 58, 231, 0.14);
  background: var(--wc-white);
}

.wccontact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.wc-form-status {
  display: none;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

#wcManagedSelection {
  display: none;
  font-weight: 800;
  color: #383ae7;
}

.wc-form-status.ok {
  display: block;
  background: #dcfce7;
  color: #15803d;
}

.wc-form-status.err {
  display: block;
  background: #fee2e2;
  color: #b91c1c;
}

/* Legal pages */
.wc-legal-page {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--wc-dark);
  background: var(--wc-white);
}

.wc-legal-box {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.wc-legal-box h1 {
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.wc-legal-box p,
.wc-legal-box li {
  color: var(--wc-muted);
  font-size: 16px;
  line-height: 1.8;
}

.wc-legal-box h2 {
  font-size: 24px;
  margin: 40px 0 12px;
}

.wc-legal-box ul {
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
