/* CLOCK plugin landing page styles. Loaded only on /clock.html, layered on top of oven.css.
   Adds the WEBSITETRONSKIN --cr/--cg/--cb channel system the original CLOCK landing relied on. */
:root {
  --cr: 255;
  --cg: 50;
  --cb: 50;
  --dim: 1;
}


@keyframes clock-beacon {
  0%, 100% {
    text-shadow: 0 0 18px rgba(var(--cr),var(--cg),var(--cb),0.4),
                 0 0 36px rgba(var(--cr),var(--cg),var(--cb),0.25);
  }
  50% {
    text-shadow: 0 0 32px rgba(var(--cr),var(--cg),var(--cb),0.75),
                 0 0 70px rgba(var(--cr),var(--cg),var(--cb),0.55),
                 0 0 110px rgba(var(--cr),var(--cg),var(--cb),0.35);
  }
}

.hero-byline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-byline span {
  color: var(--red);
  text-shadow: 0 0 6px var(--red-glow);
}

.download-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: transparent;
  border: 1px solid var(--red-dim);
  color: var(--red);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  min-width: 240px;
  justify-content: center;
}

.dl-btn:hover {
  border-color: var(--red);
  background: rgba(var(--cr),var(--cg),var(--cb),0.08);
  box-shadow: 0 0 20px var(--red-glow);
  text-shadow: 0 0 10px var(--red-glow);
}

.dl-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.dl-note {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}

.dl-note a {
  color: rgba(var(--cr),var(--cg),var(--cb),0.7);
  text-decoration: none;
  border-bottom: 1px dotted rgba(var(--cr),var(--cg),var(--cb),0.3);
}

.dl-note a:hover { color: var(--red); }

.carousel-wrap {
  margin: 48px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 720px;
  perspective: 2000px;
  /* Let vertical page scroll pass through while horizontal drags are
     captured by our swipe handler. Without this, mobile horizontal
     drags fight the page scroll and feel broken. */
  touch-action: pan-y;
}

.carousel-track {
  position: relative;
  height: 900px;
  transform-style: preserve-3d;
}

.slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 360px;
  height: 800px;
  margin-left: -180px;
  transform-origin: center center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s, filter 0.5s;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(var(--cr),var(--cg),var(--cb),0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 40px rgba(var(--cr),var(--cg),var(--cb),0.2);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: var(--slide-tint, hue-rotate(0deg));
  transition: filter 0.6s ease;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: calc(0.55 * (1 - var(--dim)));
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1;
}

.slide.active {
  transform: translateZ(0) rotateY(0);
  opacity: 1;
  z-index: 10;
  filter: drop-shadow(0 0 30px rgba(var(--cr),var(--cg),var(--cb),0.4));
}

.slide.prev {
  transform: translateX(-220px) translateZ(-200px) rotateY(30deg);
  opacity: 0.45;
  z-index: 5;
  filter: blur(1px);
}

.slide.next {
  transform: translateX(220px) translateZ(-200px) rotateY(-30deg);
  opacity: 0.45;
  z-index: 5;
  filter: blur(1px);
}

.slide.far-prev {
  transform: translateX(-380px) translateZ(-400px) rotateY(45deg);
  opacity: 0.15;
  z-index: 1;
  filter: blur(2px);
}

.slide.far-next {
  transform: translateX(380px) translateZ(-400px) rotateY(-45deg);
  opacity: 0.15;
  z-index: 1;
  filter: blur(2px);
}

.slide.hidden {
  opacity: 0;
  transform: translateZ(-600px);
  z-index: 0;
  pointer-events: none;
}

.slide-label {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--red);
  text-shadow: 0 0 8px var(--red-glow), 0 0 4px #000;
  text-transform: uppercase;
  z-index: 20;
  pointer-events: none;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--red-dim);
  background: transparent;
  transition: all 0.2s;
  padding: 0;
}

.carousel-dot:hover {
  border-color: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}

.carousel-dot.active {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: rgba(var(--cr),var(--cg),var(--cb),0.15);
  border: 1px solid rgba(var(--cr),var(--cg),var(--cb),0.15);
  margin-top: 32px;
}

.feat {
  background: var(--panel);
  padding: 32px 28px;
}

.feat-title {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--red);
  text-shadow: 0 0 6px var(--red-glow);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.feat-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.steps {
  margin-top: 32px;
  list-style: none;
  padding: 0;
}

.step {
  position: relative;
  padding: 0 0 28px 52px;
  border-left: 2px solid rgba(var(--cr),var(--cg),var(--cb),0.25);
  margin-left: 6px;
}

.step:last-child { padding-bottom: 0; }

.step:last-child::after {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  bottom: -20px;
  width: 4px;
  background: var(--bg);
}

.step::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #111;
  border: 2px solid var(--red);
  box-shadow: 0 0 10px var(--red-glow);
  box-sizing: border-box;
}

.step-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
}

.step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.step-text {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.step-text code, .code-inline {
  font-family: var(--mono);
  background: rgba(var(--cr),var(--cg),var(--cb),0.1);
  border: 1px solid rgba(var(--cr),var(--cg),var(--cb),0.25);
  padding: 2px 8px;
  font-size: 13px;
  color: var(--red);
}

.step-text a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px dotted var(--red);
}

.pricing {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.pricing-single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.pricing-single .price-card.featured::before {
  content: none;
}

.price-card {
  background: var(--panel);
  border: 1px solid rgba(var(--cr),var(--cg),var(--cb),0.2);
  padding: 32px;
  text-align: center;
  transition: all 0.2s;
}

.price-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 30px rgba(var(--cr),var(--cg),var(--cb),0.15);
  position: relative;
}

.price-card.featured::before {
  content: 'BEST VALUE';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  color: #000;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 14px;
  font-weight: 900;
}

.price-tier {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.price-amount {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  text-shadow: 0 0 15px var(--red-glow);
  line-height: 1;
  margin-bottom: 4px;
}

.price-amount sup {
  font-size: 18px;
  vertical-align: top;
  margin-right: 2px;
}

.price-period {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.price-list {
  text-align: left;
  list-style: none;
  margin: 24px 0;
}

.price-list li {
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  position: relative;
}

.price-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.compare {
  margin-top: 40px;
  padding: 24px;
  background: rgba(var(--cr),var(--cg),var(--cb),0.04);
  border: 1px dashed rgba(var(--cr),var(--cg),var(--cb),0.2);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-family: var(--mono);
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-align: center;
}

.compare strong {
  color: var(--red);
  font-weight: normal;
}

.phone-box {
  background: var(--panel);
  border: 1px solid rgba(var(--cr),var(--cg),var(--cb),0.25);
  padding: 40px;
  margin-top: 32px;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.phone-icon {
  width: 80px;
  height: 120px;
  border: 2px solid var(--red);
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--red-glow), inset 0 0 15px rgba(var(--cr),var(--cg),var(--cb),0.1);
  background: #000;
}

.phone-icon::before {
  content: 'O';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  text-shadow: 0 0 10px var(--red-glow);
}

.phone-icon::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: rgba(var(--cr),var(--cg),var(--cb),0.4);
  border-radius: 2px;
}

.phone-copy {
  flex: 1;
  min-width: 260px;
}

.phone-copy h3 {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--red);
  text-shadow: 0 0 6px var(--red-glow);
  margin-bottom: 12px;
}

.phone-copy p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.7;
}

.phone-copy code {
  background: rgba(var(--cr),var(--cg),var(--cb),0.08);
  padding: 2px 6px;
  border: 1px solid rgba(var(--cr),var(--cg),var(--cb),0.2);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--red);
}

.theme-panel {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--red-dim);
  box-shadow: 0 0 30px var(--red-glow), inset 0 0 20px rgba(var(--cr),var(--cg),var(--cb),0.04);
  border-radius: 10px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
}

.theme-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--red);
  text-shadow: 0 0 6px var(--red-glow);
  text-transform: uppercase;
}

.theme-interactive {
  font-size: 8px;
  letter-spacing: 2.5px;
  color: rgba(var(--cr),var(--cg),var(--cb),0.55);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(var(--cr),var(--cg),var(--cb),0.2);
  margin-bottom: -4px;
}

.theme-swatches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.2s, border-color 0.2s;
  padding: 0;
}

.theme-swatch:hover {
  transform: scale(1.12);
  border-color: rgba(255,255,255,0.5);
}

.theme-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 10px currentColor;
}

.theme-custom {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.35);
  cursor: pointer;
  background: transparent;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}

.theme-custom::-webkit-color-swatch-wrapper { padding: 0; }

.theme-custom::-webkit-color-swatch { border: none; border-radius: 50%; }

.theme-custom::-moz-color-swatch { border: none; border-radius: 50%; }

.theme-dim-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.theme-vegas {
  background: transparent;
  border: 1px dashed rgba(var(--cr),var(--cg),var(--cb),0.55);
  color: rgba(var(--cr),var(--cg),var(--cb),0.85);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 3px;
  padding: 5px 10px;
  margin-top: 4px;
  cursor: pointer;
  border-radius: 3px;
  text-shadow: 0 0 6px rgba(var(--cr),var(--cg),var(--cb),0.5);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.theme-vegas:hover {
  background: rgba(var(--cr),var(--cg),var(--cb),0.1);
  border-color: rgba(var(--cr),var(--cg),var(--cb),0.9);
  box-shadow: 0 0 12px rgba(var(--cr),var(--cg),var(--cb),0.4);
}

.theme-vegas.on {
  background: rgba(var(--cr),var(--cg),var(--cb),0.18);
  border: 1px solid rgba(var(--cr),var(--cg),var(--cb),1);
  color: #fff;
  box-shadow: 0 0 20px rgba(var(--cr),var(--cg),var(--cb),0.8),
              inset 0 0 10px rgba(var(--cr),var(--cg),var(--cb),0.3);
  animation: vegas-pulse 0.7s ease-in-out infinite;
}

@keyframes vegas-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.theme-dim {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 90px;
  writing-mode: vertical-lr;
  direction: rtl;
  background: rgba(var(--cr),var(--cg),var(--cb),0.12);
  border-radius: 7px;
  outline: none;
  cursor: pointer;
}

.theme-dim::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 10px;
  background: var(--red);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--red-glow);
  cursor: grab;
}

.theme-dim::-moz-range-thumb {
  width: 20px;
  height: 10px;
  background: var(--red);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--red-glow);
  border: none;
  cursor: grab;
}


/* Vegas mode — body class added by JS while rainbow rotation is on. Boosts the
   glow on every text-shadow so the cycling color reads more vividly. */
body.vegas-mode, body.vegas-mode * {
  text-shadow: 0 0 8px rgba(var(--cr),var(--cg),var(--cb),0.6),
               0 0 18px rgba(var(--cr),var(--cg),var(--cb),0.35) !important;
  transition: color 0.08s linear !important;
}

/* Themed cursors. JS rewrites these inline when the theme color changes. */
body { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path d='M2,2 L2,16 L6,12.5 L8.5,18 L11,17 L8.5,12 L14,12 Z' fill='%23ff3232' stroke='%23000' stroke-width='1' stroke-linejoin='round'/></svg>") 2 2, auto; }
a, button, .dl-btn, .carousel-dot, .slide, .theme-swatch, .theme-custom {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'><path d='M8,2 L8,11 L5,11 L5,14 L3,14 L3,17 L16,17 L18,11 L14,11 L14,9 L11,9 L11,2 Z' fill='%23ff3232' stroke='%23000' stroke-width='1' stroke-linejoin='round'/></svg>") 8 2, pointer;
}
