/*
Theme Name: Actyte
Theme URI: https://actyte.com
Author: Actyte
Description: Custom landing theme for Actyte — websites + automation for private dental practices.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: actyte
*/

:root {
  --bg: #07041a;
  --bg-deep: #050313;
  --bg-card: #0d0930;
  --surface: #100a38;
  --border: rgba(139, 92, 246, 0.25);
  --text: #ffffff;
  --text-muted: #b8b3d9;
  --text-dim: #8c86b8;
  --purple: #8b5cf6;
  --purple-deep: #7c3aed;
  --cyan: #22d3ee;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.45);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(139, 92, 246, 0.65);
}

.btn--lg { font-size: 16px; padding: 15px 34px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 3, 19, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 14px;
}

.brand__mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #a78bfa, var(--purple-deep));
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(ellipse 50% 45% at 30% 20%, rgba(124, 58, 237, 0.28), transparent 65%),
    radial-gradient(ellipse 45% 40% at 75% 15%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 80%, rgba(124, 58, 237, 0.18), transparent 70%);
  pointer-events: none;
}

.hero > .container { position: relative; }

.hero__eyebrow {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.15;
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto 24px;
}

.hero__title .grad {
  background: linear-gradient(90deg, #a78bfa 0%, #60a5fa 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 44px;
}

.hero__sub strong { color: var(--text); }

/* ---------- Video card ---------- */
.video-card {
  position: relative;
  max-width: 820px;
  margin: 0 auto 44px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #120b3a 0%, #0c0728 60%, #0a0522 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.30), 0 24px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  cursor: pointer;
  transition: box-shadow 0.25s ease;
}

.video-card:hover { box-shadow: 0 0 90px rgba(124, 58, 237, 0.45), 0 24px 60px rgba(0, 0, 0, 0.5); }

.video-card__play {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.video-card:hover .video-card__play { transform: scale(1.08); }

.video-card__play svg { margin-left: 4px; }

.video-card__label {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.video-card iframe,
.video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
}

/* ---------- Hero meta ---------- */
.hero__meta {
  margin-top: 26px;
  color: var(--text-dim);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* ---------- Stats ---------- */
.stats {
  background: var(--bg-deep);
  border-top: 1px solid rgba(139, 92, 246, 0.12);
  padding: 44px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__value {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(90deg, #a78bfa, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat__label { color: var(--text-dim); font-size: 14px; }

/* ---------- Trust bar / footer ---------- */
.trustbar {
  background: var(--bg-deep);
  border-top: 1px solid rgba(139, 92, 246, 0.10);
  padding: 22px 0;
}

.trustbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 48px;
  color: var(--text-muted);
  font-size: 14px;
}

.trustbar__item { display: inline-flex; align-items: center; gap: 8px; }

.trustbar__stars { color: #fbbf24; letter-spacing: 2px; font-size: 13px; }

.trustbar__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  color: #04293a;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

/* ---------- Problem / comparison section ---------- */
.section {
  padding: 96px 0;
}

.section__eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  font-weight: 800;
  max-width: 560px;
  margin-bottom: 20px;
}

.section__sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 540px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

.compare__card {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius);
  padding: 32px;
}

.compare__card--actyte {
  background: linear-gradient(160deg, #161045 0%, #0f0a35 100%);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.20);
}

.compare__heading {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 22px;
}

.compare__list { list-style: none; }

.compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  padding: 9px 0;
}

.compare__card--agency .compare__list li { color: var(--text-dim); }
.compare__card--actyte .compare__list li { color: var(--text-muted); }

.compare__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}

.compare__icon--x {
  background: rgba(140, 134, 184, 0.15);
  color: var(--text-dim);
}

.compare__icon--check {
  background: var(--cyan);
  color: #04293a;
}

/* ---------- Phone mockup ---------- */
.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  margin-top: 72px;
}

.phone {
  width: 320px;
  max-width: 100%;
  background: linear-gradient(170deg, #140e3e 0%, #0c0728 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 36px;
  padding: 22px 18px 26px;
  box-shadow: 0 0 70px rgba(124, 58, 237, 0.35), 0 30px 60px rgba(0, 0, 0, 0.5);
}

.phone__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.18);
  margin-bottom: 16px;
}

.phone__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), #3b82f6);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #06283a;
}

.phone__name { font-size: 14px; font-weight: 700; }

.phone__status { font-size: 11px; color: var(--purple); }

.phone__chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.5;
}

.bubble--in {
  align-self: flex-start;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.18);
  color: var(--text-muted);
  border-bottom-left-radius: 4px;
}

.bubble--out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff;
  font-weight: 700;
  border-bottom-right-radius: 4px;
}

.bubble--tag {
  align-self: center;
  background: rgba(34, 211, 238, 0.10);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.phone__caption {
  text-align: center;
  color: var(--text-dim);
  font-size: 11.5px;
  margin-top: 16px;
}

/* ---------- Feature grid (What You Get) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: rgba(139, 92, 246, 0.45);
  transform: translateY(-3px);
}

.feature__num {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.feature__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature__desc {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.55;
}

.section__cta {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

/* ---------- Work / portfolio grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.work-card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  transform: translateY(-3px);
}

.work-card__shot {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #150f42 0%, #0d0830 100%);
  display: grid;
  place-items: center;
  color: var(--text-dim);
  font-size: 12px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

.work-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.work-card__label {
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(160deg, #110b38 0%, #0c0728 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.18);
}

.pricing__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 14px;
}

.pricing__sub {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 26px;
  max-width: 380px;
}

.pricing__list { list-style: none; }

.pricing__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 6px 0;
}

.pricing__compare {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.pricing__compare li { color: var(--text-dim); }

.pricing__compare s { color: var(--text-dim); }

.price-box {
  background: var(--bg-deep);
  border: 1px solid rgba(139, 92, 246, 0.30);
  border-radius: 20px;
  padding: 40px 34px;
  text-align: center;
}

.price-box__eyebrow {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.price-box__price {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 18px;
}

.price-box__price small {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-muted);
}

.price-box__pill {
  display: inline-block;
  background: rgba(34, 211, 238, 0.10);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.price-box .btn { width: 100%; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial__stars {
  color: #a78bfa;
  letter-spacing: 3px;
  font-size: 13px;
  margin-bottom: 16px;
}

.testimonial__quote {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 22px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #4f46e5);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.testimonial__name { font-size: 13.5px; font-weight: 700; }

.testimonial__role { font-size: 12px; color: var(--text-dim); }

/* ---------- Final CTA / demo form ---------- */
.cta-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 70% at 20% 30%, rgba(124, 58, 237, 0.25), transparent 65%),
    linear-gradient(160deg, #17104a 0%, #0e0833 55%, #0b0628 100%);
  border: 1px solid rgba(139, 92, 246, 0.30);
  border-radius: 28px;
  padding: 56px 48px;
  box-shadow: 0 0 70px rgba(124, 58, 237, 0.18);
}

.cta-panel__title {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-panel__sub {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 26px;
}

.cta-panel__list { list-style: none; }

.cta-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 6px 0;
}

.demo-form {
  background: var(--bg-deep);
  border: 1px solid rgba(139, 92, 246, 0.30);
  border-radius: 20px;
  padding: 34px 30px;
}

.demo-form__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.demo-form__sub {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 22px;
}

.demo-form__field { margin-bottom: 16px; }

.demo-form__field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 7px;
}

.demo-form__field input,
.demo-form__field select {
  width: 100%;
  background: #0e0a2e;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.demo-form__field input::placeholder { color: var(--text-dim); }

.demo-form__field input:focus,
.demo-form__field select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

.demo-form__field select option { background: #0e0a2e; }

.demo-form .btn { width: 100%; margin-top: 6px; }

.demo-form__note {
  text-align: center;
  color: var(--text-dim);
  font-size: 11px;
  margin-top: 14px;
}

.demo-form__success {
  background: rgba(34, 211, 238, 0.10);
  border: 1px solid rgba(34, 211, 238, 0.40);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  transition: opacity 0.6s ease, margin 0.6s ease, padding 0.6s ease, max-height 0.6s ease;
  max-height: 120px;
  overflow: hidden;
}

.demo-form__success--hide {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  border-width: 0;
}

/* ---------- Site footer ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(139, 92, 246, 0.10);
  padding: 44px 0;
  text-align: center;
}

.site-footer .brand {
  justify-content: center;
  margin-bottom: 16px;
}

.site-footer__tagline {
  color: #7c74b8;
  font-size: 13px;
  margin-bottom: 8px;
}

.site-footer__text { color: var(--text-dim); font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .hero { padding: 56px 0 48px; }
  .compare { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .features, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .testimonials { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 36px 24px; gap: 36px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 30px; }
  .video-card__play { width: 60px; height: 60px; }
  .trustbar__inner { flex-direction: column; gap: 12px; }
  .features, .work-grid { grid-template-columns: 1fr; }
}
