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

.c2m-home {
  --ink: #0b1220;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --white: #ffffff;
  --soft: #f1f5f9;
  --accent: #3b82f6;
  --accent-2: #8b5cf6;
  --green: #22c55e;
  --shadow-lg: 0 32px 80px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #060a14;
  font-family: 'Assistant', Heebo, sans-serif;
}

.c2m-home * { box-sizing: border-box; }

.c2m-wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── Background ── */
.c2m-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.c2m-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.c2m-orb-1 {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  animation: c2m-drift 18s ease-in-out infinite;
}

.c2m-orb-2 {
  width: 420px;
  height: 420px;
  bottom: 10%;
  left: -100px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  animation: c2m-drift 22s ease-in-out infinite reverse;
}

.c2m-orb-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 45%;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
  animation: c2m-drift 16s ease-in-out infinite 2s;
}

.c2m-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes c2m-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

/* ── Nav ── */
.c2m-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.c2m-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.c2m-brand img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.c2m-nav-links {
  display: flex;
  gap: 32px;
}

.c2m-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

.c2m-nav-links a:hover { color: var(--white); }

/* ── Buttons ── */
.c2m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  font-family: inherit;
}

.c2m-btn:hover { transform: translateY(-2px); }
.c2m-btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.c2m-btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.c2m-btn-block { width: 100%; }

.c2m-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.35);
}

.c2m-btn-primary:hover {
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.45);
}

.c2m-btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.c2m-btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
}

.c2m-btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.c2m-btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

.c2m-btn-white {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.c2m-btn-white:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

/* ── Hero ── */
.c2m-hero {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
}

.c2m-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.c2m-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
}

.c2m-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
  animation: c2m-pulse 2s infinite;
}

@keyframes c2m-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.c2m-hero h1 {
  margin: 0 0 24px;
  display: grid;
  gap: 4px;
}

.c2m-h1-line {
  display: block;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.c2m-h1-gradient {
  display: block;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.c2m-lead {
  margin: 0 0 32px;
  max-width: 44ch;
  font-size: 18px;
  line-height: 1.8;
  color: #94a3b8;
}

.c2m-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.c2m-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.c2m-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.c2m-stat span {
  font-size: 13px;
  color: var(--muted);
}

.c2m-stat-div {
  width: 1px;
  height: 36px;
  background: var(--line);
}

/* ── Device showcase ── */
.c2m-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.c2m-showcase-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: c2m-glow 4s ease-in-out infinite;
}

@keyframes c2m-glow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.c2m-device {
  position: relative;
  z-index: 1;
  animation: c2m-float-device 6s ease-in-out infinite;
}

@keyframes c2m-float-device {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}

.c2m-device-frame {
  width: 290px;
  padding: 14px;
  border-radius: 40px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

.c2m-device-island {
  width: 90px;
  height: 8px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #334155;
}

.c2m-device-screen {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  padding-bottom: 24px;
  text-align: center;
}

.c2m-card-cover {
  height: 90px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 60%, #db2777 100%);
}

.c2m-card-avatar {
  width: 72px;
  height: 72px;
  margin: -36px auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  display: grid;
  place-items: center;
  color: #64748b;
}

.c2m-card-avatar svg { width: 36px; height: 36px; }

.c2m-card-title {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 17px;
  color: #0f172a;
}

.c2m-card-sub {
  margin: 0 0 18px;
  font-size: 12px;
  color: #64748b;
}

.c2m-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 18px;
  margin-bottom: 18px;
}

.c2m-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  background: #f8fafc;
  color: #334155;
}

.c2m-pill-blue { background: #eff6ff; color: #1d4ed8; }
.c2m-pill-green { background: #f0fdf4; color: #15803d; }

.c2m-card-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.c2m-card-social span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.c2m-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.c2m-chip-1 {
  top: 12%;
  right: -24px;
  animation: c2m-chip-float 5s ease-in-out infinite;
}

.c2m-chip-2 {
  bottom: 18%;
  left: -36px;
  animation: c2m-chip-float 5s ease-in-out infinite 1.2s;
}

@keyframes c2m-chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ── Marquee ── */
.c2m-marquee {
  position: relative;
  z-index: 1;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.c2m-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: c2m-marquee 28s linear infinite;
}

.c2m-marquee-track span {
  font-size: 15px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.02em;
}

@keyframes c2m-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* ── Light sections ── */
.c2m-section-light {
  background: #f8fafc;
  color: #0f172a;
}

.c2m-section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.c2m-head {
  text-align: center;
  margin-bottom: 56px;
}

.c2m-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.c2m-label-light { color: #93c5fd; }

.c2m-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.c2m-section-light .c2m-head h2 { color: #0f172a; }
.c2m-section:not(.c2m-section-light) .c2m-head h2 { color: var(--white); }

/* ── Bento grid ── */
.c2m-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.c2m-bento-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s;
}

.c2m-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.c2m-bento-hero {
  grid-row: span 2;
  background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 50%, #faf5ff 100%);
  border-color: #bfdbfe;
}

.c2m-bento-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #fdf4ff 0%, #faf5ff 100%);
  border-color: #e9d5ff;
}

.c2m-bento-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: #fff;
  display: grid;
  place-items: center;
}

.c2m-bento-icon svg { width: 24px; height: 24px; }
.c2m-icon-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.c2m-icon-green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.c2m-icon-orange { background: linear-gradient(135deg, #ea580c, #f97316); }
.c2m-icon-pink { background: linear-gradient(135deg, #db2777, #ec4899); }

.c2m-bento-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
}

.c2m-bento-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #64748b;
}

.c2m-url-preview {
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  font-size: 14px;
  color: #64748b;
  font-family: ui-monospace, monospace;
}

.c2m-url-preview strong { color: #2563eb; }

/* ── Steps ── */
.c2m-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.c2m-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  right: 16%;
  left: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5), transparent);
}

.c2m-steps li {
  text-align: center;
  padding: 0 16px;
}

.c2m-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #93c5fd;
  font-size: 22px;
  font-weight: 800;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
}

.c2m-step-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.c2m-step-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* ── CTA panel ── */
.c2m-cta-band { padding-bottom: 120px; }

.c2m-cta-panel {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #581c87 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.c2m-cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  top: -200px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.c2m-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 52px;
}

.c2m-cta-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
}

.c2m-cta-copy p {
  margin: 0 0 28px;
  color: #cbd5e1;
  line-height: 1.75;
  font-size: 16px;
}

/* ── Form ── */
.c2m-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.c2m-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.c2m-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

.c2m-form input,
.c2m-form textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  border-radius: 12px;
  padding: 13px 16px;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.c2m-form input:focus,
.c2m-form textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  background: #fff;
}

.c2m-form input::placeholder,
.c2m-form textarea::placeholder { color: #94a3b8; }

.c2m-form-ok { color: #16a34a; margin: 0; font-weight: 700; }
.c2m-form-err { color: #dc2626; margin: 0; font-weight: 700; }

/* ── WP overrides ── */
body.page-template-home-click2me,
body.page-template-page-templates-home-click2me-php {
  background: #060a14 !important;
}

body.page-template-home-click2me #site-header,
body.page-template-home-click2me #top-bar-wrap,
body.page-template-home-click2me .page-header,
body.page-template-home-click2me #footer-widgets,
body.page-template-page-templates-home-click2me-php #site-header,
body.page-template-page-templates-home-click2me-php #top-bar-wrap,
body.page-template-page-templates-home-click2me-php .page-header,
body.page-template-page-templates-home-click2me-php #footer-widgets {
  display: none !important;
}

body.page-template-home-click2me #outer-wrap,
body.page-template-home-click2me #wrap,
body.page-template-home-click2me #main,
body.page-template-home-click2me #content-wrap,
body.page-template-home-click2me #content,
body.page-template-home-click2me #primary,
body.page-template-page-templates-home-click2me-php #outer-wrap,
body.page-template-page-templates-home-click2me-php #wrap,
body.page-template-page-templates-home-click2me-php #main,
body.page-template-page-templates-home-click2me-php #content-wrap,
body.page-template-page-templates-home-click2me-php #content,
body.page-template-page-templates-home-click2me-php #primary {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

body.page-template-home-click2me #footer-bottom,
body.page-template-page-templates-home-click2me-php #footer-bottom {
  background: #060a14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-template-home-click2me #copyright,
body.page-template-page-templates-home-click2me-php #copyright {
  color: #64748b;
  text-align: center;
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .c2m-hero-grid,
  .c2m-bento,
  .c2m-cta-inner {
    grid-template-columns: 1fr;
  }

  .c2m-bento-hero,
  .c2m-bento-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .c2m-showcase { order: -1; margin-bottom: 16px; }

  .c2m-device { animation: none; }
  .c2m-device-frame { width: 260px; }

  .c2m-chip { display: none; }

  .c2m-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .c2m-steps::before { display: none; }

  .c2m-nav-links { display: none; }

  .c2m-section { padding: 64px 0; }

  .c2m-cta-inner { padding: 32px 24px; }

  .c2m-form-row { grid-template-columns: 1fr; }

  .c2m-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .c2m-stat-div { display: none; }
}

@media (max-width: 600px) {
  .c2m-wrap { width: calc(100% - 28px); }

  .c2m-cta { flex-direction: column; }
  .c2m-cta .c2m-btn { width: 100%; }
}
