/* ==========================================================================
   ZYRO TECHNOLOGIES - MINIMAL ONE-SCREEN COMING SOON
   White Theme & Scenic Atmospheric Backdrop
   ========================================================================== */

:root {
  /* White Matte Palette */
  --bg-white: #FFFFFF;
  --bg-white-translucent: rgba(255, 255, 255, 0.94);
  --bg-input: #FFFFFF;
  --bg-pill: rgba(255, 255, 255, 0.85);

  /* Matte Borders */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-input: rgba(15, 23, 42, 0.14);
  --border-focus: #00B4D8;

  /* Typography / Ink */
  --ink-primary: #071426;
  --ink-secondary: #475569;
  --ink-muted: #64748B;
  --ink-faint: #94A3B8;

  /* Brand Accents */
  --brand-cyan: #00B4D8;
  --brand-teal: #0FA4AF;
  --brand-navy: #071426;

  /* Signature Template Button (Vibrant Orange / Amber from reference template) */
  --btn-orange: #FF8A00;
  --btn-orange-hover: #E57A00;
  --btn-orange-glow: rgba(255, 138, 0, 0.35);

  /* WhatsApp */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5D;
  --color-whatsapp-bg: #F0FDF4;

  /* Shadows */
  --shadow-input: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-pill: 0 4px 14px rgba(15, 23, 42, 0.05);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-full: 9999px;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  background-color: var(--bg-white);
  color: var(--ink-secondary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Clean Matte White Canvas */
.matte-white-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg-white);
}

.matte-subtle-grid {
  position: absolute;
  inset: 0;
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.024) 1px, transparent 1px);
}

.matte-glow-cyan {
  position: absolute;
  bottom: -8%;
  right: -4%;
  width: 50vw;
  height: 50vw;
  max-width: 650px;
  max-height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.07) 0%, rgba(15, 164, 175, 0.02) 45%, transparent 70%);
  filter: blur(40px);
}

/* Right Bottom Mascot & Kinetic Clock Showcase */
.mascot-bottom-right {
  position: fixed;
  bottom: -5px;
  right: clamp(-65px, -3.5vw, -30px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  user-select: none;
}

/* Kinetic Clock Container (Above the mascot) */
.kinetic-clock-container {
  pointer-events: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom: clamp(115px, 17vh, 210px);
  margin-right: clamp(35px, 5.5vw, 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.kinetic-clock-container:hover {
  transform: translateY(-3px);
}

/* Kinetic Clock Grid Layout */
.app {
  --clock-size: clamp(18px, 1.82vw, 26px);
  --gap: calc(var(--clock-size) * 0.08);
  --clock-segment-w: calc(var(--clock-size) * 4 + var(--gap) * 5);
  --clock-segment-h: calc(var(--clock-size) * 6 + var(--gap) * 5);
  font-family: sans-serif;
  text-align: center;
  display: flex;
  gap: var(--gap);
  align-items: center;
  justify-content: center;
}

.app > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  width: var(--clock-segment-w);
  height: var(--clock-segment-h);
}

.app > div:nth-of-type(even) {
  margin-right: calc(var(--clock-size) * 0.7);
}

.app > div:last-child {
  margin-right: 0;
}

.clock {
  --w: 47%;
  --h: 3px;
  --dur: 0.4s;
  position: relative;
  width: var(--clock-size);
  height: var(--clock-size);
  border-radius: 50%;
  flex-shrink: 0;
  border: none;
  background: linear-gradient(225deg, #cfd3da 10%, #ffffff);
  box-shadow: -2px 2px 6px rgba(180, 190, 205, 0.45),
               2px -2px 6px #ffffff;
}

.clock::before,
.clock::after {
  position: absolute;
  content: '';
  top: calc(50% - var(--h) * 0.5);
  left: 50%;
  transform-origin: 0% 50%;
  width: var(--w);
  height: var(--h);
  background: #071426;
  border-radius: 9999px;
  transition: transform calc(var(--dur) * 1s) ease-in-out;
  transform: rotate(calc(var(--angle) * 1deg));
}

.clock::before {
  --angle: var(--hour-angle, 0);
}

.clock::after {
  --angle: var(--minute-angle, 0);
}

/* Mascot Stage Wrapper */
.mascot-stage-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.mascot-sofa-img {
  display: block;
  height: clamp(260px, 46vh, 490px);
  width: auto;
  max-width: clamp(360px, 50vw, 840px);
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 20px 35px rgba(15, 23, 42, 0.1));
  animation: mascotEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mascot-ground-shadow {
  position: absolute;
  bottom: 8px;
  right: 6%;
  width: 86%;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.14) 0%, rgba(15, 23, 42, 0.03) 55%, transparent 75%);
  filter: blur(8px);
  border-radius: 50%;
  z-index: -1;
}

@keyframes mascotEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* One Screen Wrapper */
.one-screen-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.75rem, 4vh, 3rem) clamp(1.75rem, 5vw, 5rem);
  box-sizing: border-box;
  overflow: hidden;
}

.content-panel {
  max-width: min(580px, 52vw);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  z-index: 12;
}

/* Brand Header */
.brand-header {
  flex-shrink: 0;
  margin-bottom: 0.5rem;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--ink-primary);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-row:hover {
  transform: translateY(-1px);
}

.brand-logo {
  width: auto;
  height: 42px;
  max-width: 42px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-row:hover .brand-logo {
  transform: rotate(-3deg) scale(1.05);
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.36rem;
  font-family: var(--font-sans);
  line-height: 1;
}

.brand-name-primary {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #071426;
}

.brand-name-accent {
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #1E293B;
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
  max-width: 560px;
}

.headline-title {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 5.2vw, 4.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.headline-desc {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink-secondary);
  margin-bottom: 1.65rem;
  max-width: 520px;
}

/* Unique Tactile Contact Console */
.tactile-contact-console {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 530px;
  margin-top: 0.35rem;
}

.console-header {
  display: flex;
  align-items: center;
  padding: 0 4px;
  margin-bottom: 2px;
}

.console-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.console-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Individual Tactile Strip */
.tactile-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 252, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: -3px 3px 8px rgba(182, 194, 212, 0.28), 3px -3px 8px #ffffff;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.tactile-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tactile-strip:hover {
  transform: translateY(-2px);
  box-shadow: -5px 5px 16px rgba(175, 188, 210, 0.38), 5px -5px 16px #ffffff, 0 6px 20px rgba(0, 180, 216, 0.08);
}

.tactile-strip:hover::after {
  opacity: 1;
}

.tactile-strip:active {
  transform: translateY(0);
  box-shadow: -2px 2px 5px rgba(182, 194, 212, 0.35), 2px -2px 5px #ffffff;
}

/* Tactile Sculpted Dial (Echoes the Kinetic Clock) */
.tactile-dial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, #ffffff, #edf1f5);
  box-shadow: -2px 2px 6px rgba(182, 194, 212, 0.35), 2px -2px 6px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.tactile-strip:hover .tactile-dial {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: -3px 3px 8px rgba(182, 194, 212, 0.45), 3px -3px 8px #ffffff;
}

.dial-svg {
  width: 18px;
  height: 18px;
  fill: var(--ink-primary);
  transition: fill 0.25s ease;
}

.tactile-whatsapp .dial-svg {
  fill: #16A34A;
}

.tactile-phone .dial-svg {
  fill: #0284C7;
}

.tactile-email .dial-svg {
  fill: #0F172A;
}

/* Beacon on Dial */
.dial-beacon {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
}

.beacon-emerald {
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.beacon-cyan {
  background: #0284C7;
  box-shadow: 0 0 6px #0284C7;
}

.beacon-navy {
  background: #2563EB;
  box-shadow: 0 0 6px #2563EB;
}

/* Tactile Body */
.tactile-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.tactile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tactile-tag {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  line-height: 1;
}

.tactile-subtag {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
}

.subtag-green {
  background: #DCFCE7;
  color: #15803D;
}

.subtag-cyan {
  background: #E0F2FE;
  color: #0369A1;
}

.subtag-navy {
  background: #EDE9FE;
  color: #5B21B6;
}

.tactile-value {
  font-family: var(--font-sans);
  font-size: clamp(0.84rem, 1.05vw, 0.94rem);
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

/* Interactive Action Badge */
.tactile-action-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.04);
  color: var(--ink-secondary);
  border: 1px solid rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-arrow {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
}

.tactile-strip:hover .badge-arrow {
  transform: translate(2px, -2px);
}

/* Desktop Hover: Show button following mouse cursor */
@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
  .tactile-strip {
    position: relative;
    overflow: hidden;
  }

  .tactile-action-badge {
    position: absolute;
    top: 50%;
    left: 85%;
    transform: translate(-50%, -50%) scale(0.65);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    will-change: transform, left, top, opacity;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.2s ease,
                color 0.2s ease,
                box-shadow 0.2s ease;
  }

  .tactile-strip:hover .tactile-action-badge,
  .tactile-strip.cursor-active .tactile-action-badge {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .tactile-whatsapp:hover .tactile-action-badge,
  .tactile-whatsapp.cursor-active .tactile-action-badge {
    background: #10B981;
    color: #ffffff;
    border-color: #10B981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45);
  }

  .tactile-phone:hover .tactile-action-badge,
  .tactile-phone.cursor-active .tactile-action-badge {
    background: #0284C7;
    color: #ffffff;
    border-color: #0284C7;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.45);
  }

  .tactile-email:hover .tactile-action-badge,
  .tactile-email.cursor-active .tactile-action-badge {
    background: #071426;
    color: #ffffff;
    border-color: #071426;
    box-shadow: 0 4px 16px rgba(7, 20, 38, 0.4);
  }
}

/* Bottom Footer */
.bottom-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-input);
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.social-link:hover {
  color: var(--brand-cyan);
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
}

.social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.copyright-text {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.domain-tag {
  color: var(--brand-cyan);
  text-decoration: none;
  font-weight: 600;
}

.domain-tag:hover {
  text-decoration: underline;
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--ink-primary);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(15px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast svg {
  width: 16px;
  height: 16px;
  color: var(--brand-cyan);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .content-panel {
    max-width: min(520px, 48vw);
  }

  .mascot-sofa-img {
    height: clamp(240px, 42vh, 440px);
  }
}

@media (max-width: 900px) {
  .content-panel {
    max-width: 55%;
  }

  .mascot-sofa-img {
    height: clamp(200px, 34vh, 340px);
    max-width: 48vw;
  }
}

@media (max-width: 768px) {
  .one-screen-wrapper {
    height: auto;
    min-height: 100vh;
    padding: 1.5rem;
    overflow-y: auto;
  }

  .content-panel {
    max-width: 100%;
    min-height: auto;
  }

  /* On mobile, place clock and mascot neatly between form/contacts and footer */
  .mascot-bottom-right {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 1.75rem auto 1rem;
    width: 100%;
    max-width: 360px;
    align-items: center;
    justify-content: center;
  }

  .kinetic-clock-container {
    margin-right: 0;
    margin-bottom: 1.25rem;
    width: 100%;
    max-width: 380px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }

  .app {
    --clock-size: clamp(8px, 2.7vw, 12px);
  }

  .clock {
    --h: 1.6px;
    border: none;
  }

  .mascot-stage-wrap {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .mascot-sofa-img {
    height: auto;
    width: 100%;
    max-width: 320px;
  }

  .headline-title {
    font-size: 2.75rem;
  }

  .tactile-contact-console {
    max-width: 100%;
  }

  .tactile-strip {
    padding: 8px 12px;
    gap: 10px;
  }

  .tactile-value {
    font-size: 0.82rem;
  }

  .tactile-action-badge {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    padding: 4px 10px;
    font-size: 0.68rem;
  }
}
