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


/* === SCROLLBAR FIX (1366x768 SAFE) === */
html {
    overflow-y: hidden;
}

body {
    overflow-y: hidden;
}


/* Safe viewport centering (non-intrusive) */
.page-center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

:root {
  --blue: #2d5bff;
  --mint: #40f2c7;
  --purple: #7c5cff;

  --muted: rgba(255, 255, 255, 0.9);
  --faint: rgba(255, 255, 255, 0.5);

  --time: rgba(255, 255, 255, 0.9);

  --radius: 22px;
}

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

html,
body {
  height: 100%;
}

body {position: relative;
  font-family:
    "Space Grotesk",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;

  background:
    radial-gradient(
      900px 700px at 20% 30%,
      rgba(45, 91, 255, 0.15),
      transparent 60%
    ),
    radial-gradient(
      800px 700px at 80% 70%,
      rgba(124, 92, 255, 0.15),
      transparent 60%
    ),
    radial-gradient(
      700px 600px at 60% 20%,
      rgba(64, 242, 199, 0.12),
      transparent 58%
    ),
    #050508;
}

/* -------------------------------------------
   Grain / paper texture overlay
------------------------------------------- */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;

  opacity: 0.08;
  mix-blend-mode: overlay;
}
/* ================================
   Typing Slogan (FlowioLabs)
   ================================ */




@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}


/* -------------------------------------------
   Background blobs
------------------------------------------- */

.bouncing-blobs-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bouncing-blobs {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter: saturate(1.58) contrast(1.06);
}

.bouncing-blobs-glass {
  position: absolute;
  inset: 0;
  z-index: 3;
  backdrop-filter: blur(140px);
  -webkit-backdrop-filter: blur(140px);
}

.bouncing-blob {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  aspect-ratio: 1;
  will-change: transform;
  transform-origin: left top;
  opacity: 0.26;
}

.blob--lg {
  width: 26vw;
}

.blob--md {
  width: 18vw;
}

.blob--sm {
  width: 14vw;
}

.blob--highlight {
  width: 16vw;
  opacity: 0.18;
  z-index: 4;
  mix-blend-mode: soft-light;
}

.bouncing-blob--blue {
  background: var(--blue);
}

.bouncing-blob--mint {
  background: var(--mint);
}

.bouncing-blob--purple {
  background: var(--purple);
}

.bouncing-blob--white {
  background: #ffffff;
}

/* -------------------------------------------
   Foreground content
------------------------------------------- */

.page {
  position: relative;
  z-index: 10;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
}

.card {
  width: min(720px, 100%);
  text-align: center;
  padding: clamp(26px, 5vw, 46px);
  border-radius: var(--radius);

  /* Keep the exact same invisible look */
  background: transparent;
  border: none;
}

.logo {
  width: min(520px, 100%);
  height: auto;
  display: block;
  margin: 0 auto 18px;
  user-select: none;
  clip-path: inset(4px 0);
}

/* -------------------------------------------
   Typing effect (fixed + no clipping)
------------------------------------------- */

.title {
  margin: 12px auto 0;
  font-size: clamp(35px, 4vw, 45px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--muted);

  /* Desktop = one line *//* prevents height jump while typing */
  min-height: 1.3em;

  /* IMPORTANT: no clipping */
  overflow: visible;
}

/* Fixed-width stage so layout never jumps */
.typed-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;max-width: 100%;
}

/* Let the text be natural width (so cursor stays next to it) */
.typed-text {
  display: inline-block;/* forces correct direction */
  direction: ltr;
  unicode-bidi: isolate;
}

/* Cursor stays attached to the typed text */
.typed-cursor {
  display: inline-block;
  width: 0.09em;
  height: 1em;
  margin-left: 0.06em;
  transform: translateY(0.12em);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.6);
  animation: cursorBlink 0.9s steps(2, end) infinite;
}

@keyframes cursorBlink {
  50% {
    opacity: 0;
  }
}

/* Mobile: allow wrapping */
@media (max-width: 600px) {
  .title {
    white-space: normal;
    min-height: 2.6em; /* room for 2 lines */
  }

  .typed-line {
    display: inline;
    width: auto;
    max-width: none;
  }

  .typed-text {
    white-space: normal;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .typed-cursor {
    animation: none;
  }
}


/* -------------------------------------------
   Countdown — Premium Redesign
------------------------------------------- */

.countdown-wrap {
  margin-top: 28px;
}

@property --ct-g1 {
  syntax: '<color>';
  inherits: true;
  initial-value: #3b6cff;
}
@property --ct-g2 {
  syntax: '<color>';
  inherits: true;
  initial-value: #5b8cff;
}

.countdown-title {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 16px;
  
  --ct-g1: #3b6cff;
  --ct-g2: #5b8cff;
  background: linear-gradient(90deg, var(--ct-g1), var(--ct-g2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: --ct-g1 0.6s ease, --ct-g2 0.6s ease;
}

.countdown-title.slogan-labs {
  --ct-g1: #3b6cff;
  --ct-g2: #5b8cff;
}
.countdown-title.slogan-agent {
  --ct-g1: #19c6c6;
  --ct-g2: #2aa6ff;
}
.countdown-title.slogan-studio {
  --ct-g1: #ff4fd8;
  --ct-g2: #8b5cff;
}

.countdown {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

/* Each time block */
.time-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 0;
  overflow: visible;
}

/* SVG ring canvas */
.time-box svg.ring-svg {
  display: block;
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
}

/* Track ring */
.ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 3.5;
}

/* Progress ring */
.ring-progress {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-days    .ring-progress { stroke: url(#gradDays); }
.ring-hours   .ring-progress { stroke: url(#gradHours); }
.ring-minutes .ring-progress { stroke: url(#gradMinutes); }
.ring-seconds .ring-progress { stroke: url(#gradSeconds); }

/* Inner content (overlaid on ring) */
.time-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Number with flip animation */
.time-num {
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.95);
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), opacity 0.18s ease;
}

.time-num.flip {
  transform: translateY(-6px) scale(0.88);
  opacity: 0;
}

.time-label {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* Separator dots between boxes */
.time-sep {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding-bottom: 18px;
}

.time-sep span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: sepPulse 1s steps(2, end) infinite;
}

.time-sep span:nth-child(2) { animation-delay: 0.5s; }

@keyframes sepPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Mobile */
@media (max-width: 520px) {
  .countdown { gap: 4px; }
  .time-box svg.ring-svg { width: 80px; height: 80px; }
  .time-inner { width: 60px; height: 60px; }
  .time-num { font-size: 22px; }
  .time-sep { padding-bottom: 14px; }
}

@media (max-width: 380px) {
  .time-sep { display: none; }
  .time-box svg.ring-svg { width: 72px; height: 72px; }
  .time-inner { width: 54px; height: 54px; }
  .time-num { font-size: 20px; }
}

.divider {
  width: 120px;
  height: 2px;
  margin: 26px auto 16px;
  border-radius: 999px;
  opacity: 0.9;

  background: linear-gradient(
    90deg,
    rgba(45, 91, 255, 0),
    rgba(45, 91, 255, 0.55),
    rgba(64, 242, 199, 0.55),
    rgba(124, 92, 255, 0.55),
    rgba(45, 91, 255, 0)
  );
}

.fineprint {
  font-size: 13px;
  color: var(--faint);
}

/* Mobile */
@media (max-width: 520px) {
  .bouncing-blobs-glass {
    backdrop-filter: blur(110px);
    -webkit-backdrop-filter: blur(110px);
  }

  .time-box {
    min-width: 96px;
    padding: 12px 12px 10px;
  }

  .time-num {
    font-size: 26px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bouncing-blobs-glass {
    backdrop-filter: blur(150px);
    -webkit-backdrop-filter: blur(170px);
  }

  body::before {
    opacity: 0.045;
  }
}

/* Typing Slogan (FlowioLabs) */



/* Hero title width control */
.hero-title {
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/* Typing text */


/* 2px caret */



/* Typing text – v3 typography with gradient */
#typedText {
    position: relative;
    display: inline-block;

    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.35px;
    

    white-space: nowrap;

    /* Gradient text (dynamic per logo/slogan) */
    --slogan-g1: #2d5bff;
    --slogan-g2: #7c5cff;
    background: linear-gradient(90deg, var(--slogan-g1) 0%, var(--slogan-g2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.35;
}

/* Per-slogan gradients must target #typedText (it has the highest specificity) */
#typedText.slogan-labs { --slogan-g1: #2d5bff; --slogan-g2: #7c5cff; }
#typedText.slogan-agent { --slogan-g1: #19c6c6; --slogan-g2: #2aa6ff; }
#typedText.slogan-studio { --slogan-g1: #ff4fd8; --slogan-g2: #8b5cff; }

/* 2px gradient caret */
#typedText.show-caret::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-left: 6px;
    vertical-align: bottom;
    background: linear-gradient(180deg, #2d5bff, #7c5cff);
    animation: blink 1s infinite;
}



/* Prevent bottom margin overflow */
.page-center > *:last-child {
    margin-bottom: 0;
}

/* Force headline text font to match slogan */
[data-launch-text],
.launching,
.launch-text,
.launching-text,
.countdown-title {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


/* =====================
   MOBILE POLISH (<=768px)
   ===================== */
@media (max-width: 768px) {

  /* Typing slogan */
  #typedText {
    font-size: 32px;
    letter-spacing: 0.2px;
      line-height: 1.35;
}

  /* Future Flow headline */
  .countdown-title,
  .launch-text {
    margin-top: 12px;
    margin-bottom: 20px;
    opacity: 0.85;
  }

  /* Background blobs soften */
  .blob,
  .background-shape {
    opacity: 0.35;
    transform: scale(0.85);
  }

  /* Container padding */
  .page-center {
    padding: 24px 16px;
  }
}


/* === DEFINITIVE LOGO SIZE FIX (20% smaller) === */
/* Use width reduction instead of transform to avoid overrides */
img.logo {
    width: 80% !important;
    height: auto !important;
    max-width: 80% !important;
}

/* Prevent descender clipping for slogans */
#typedText,
.typing-container,
.slogan,
.slogan-wrapper {
    overflow: visible;
    padding-bottom: 4px;
}

/* Fix headline casing: disable uppercase */
.countdown-title,
.launch-text,
.launching,
.launching-text {
    text-transform: none !important;
    letter-spacing: normal;
}









/* =====================
   SYNCED LOGO + SLOGAN (A) — SMOOTHED
   ===================== */
.logo-wrapper{
  display:grid;
  place-items:center;
  position:relative;
}

/* Overlay all logo images */
.logo-wrapper .logo{
  grid-area:1 / 1;
  opacity:0;
  transform:scale(0.985);
  transition:
    opacity .6s cubic-bezier(0.22, 1, 0.36, 1),
    transform .6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Active logo */
.logo-wrapper .logo.active{
  opacity:1;
  transform:scale(1);
}

/* Group transitions (logo + typed text) */
.logo-wrapper.swap-out,
#typedText.swap-out {
  opacity:0;
  transform:scale(0.99);
  transition:
    opacity .6s cubic-bezier(0.22, 1, 0.36, 1),
    transform .6s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-wrapper.swap-in,
#typedText.swap-in {
  opacity:1;
  transform:scale(1);
}


/* === SLOGAN GRADIENTS (SAFE) === */
.slogan-labs{
  background: linear-gradient(90deg,#3b6cff,#5b8cff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.slogan-agent{
  background: linear-gradient(90deg,#19c6c6,#2aa6ff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.slogan-studio{
  background: linear-gradient(90deg,#ff4fd8,#8b5cff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}


/* =====================
   MOBILE SLOGAN FORCE OVERRIDE (FINAL)
   ===================== */
@media (max-width: 768px){
  body #typedText{
    font-size: 20px !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 480px){
  body #typedText{
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
}


/* =====================
   MOBILE LOGO SIZE – OPTION B (STRONG)
   ===================== */
@media (max-width: 768px){
  .logo-wrapper{
    width: 100% !important;
    padding: 0 12px !important;
    box-sizing: border-box;
  }
  .logo-wrapper img{
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px){
  .logo-wrapper{
    padding: 0 8px !important;
  }
}


/* =====================
   3D TILT CARD + HOLOGRAPHIC SHEEN
   ===================== */

.tilt-card {
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: 24px;
  padding: 20px 8px 16px;

  /* Glass card surface */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.08);

  /* 3D perspective origin */
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.08s linear, box-shadow 0.3s ease;
  will-change: transform;
  cursor: default;
}

/* Subtle depth lift on hover */
.tilt-card:hover {
  box-shadow:
    0 20px 60px rgba(45, 91, 255, 0.15),
    0 8px 24px rgba(124, 92, 255, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Holographic rainbow sheen overlay */
.holo-sheen {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  z-index: 10;
  opacity: 0;

  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(255, 0, 128, 0.18),
    rgba(255, 165, 0, 0.14),
    rgba(64, 242, 199, 0.18),
    rgba(45, 91, 255, 0.18),
    rgba(124, 92, 255, 0.16),
    rgba(255, 0, 128, 0.18)
  );

  mix-blend-mode: screen;
  transition: opacity 0.25s ease;

  /* Mask so it only shows near edges */
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 40%, black 100%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 40%, black 100%);
}

/* Sheen brightens as tilt increases — controlled via JS */
.tilt-card.tilting .holo-sheen {
  opacity: 1;
}

/* Make ring inner content pop in 3D — merkezlemeyi koruyarak */
.tilt-card .time-inner {
  transform: translate(-50%, -50%) translateZ(10px);
}

/* Lift rings slightly */
.tilt-card .time-box {
  transform: translateZ(6px);
}

/* Mobile: disable tilt, keep glass card */
@media (hover: none), (max-width: 600px) {
  .tilt-card {
    transform: none !important;
    transition: none;
  }
  .holo-sheen {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tilt-card {
    transform: none !important;
    transition: none;
  }
  .holo-sheen {
    display: none;
  }
}

/* =====================
   ENTRANCE ANIMATIONS (Staggered Fade-Up)
   ===================== */
.animate-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--anim-delay, 0s);
  will-change: opacity, transform;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


