/* =====================================================================
   style.css — shared look for ALL pages (index.html, apps.html, about.html)
   ---------------------------------------------------------------------
   EASY EDITS:
   • Colors  -> change the values inside :root below (one place = whole site)
   • Fonts   -> change --font-display / --font-body (Google Fonts are
                loaded in each page's <head>)
   ===================================================================== */

:root {
  --bg: #050505;            /* page background (near black)            */
  --surface: #0e0e10;       /* cards / panels                          */
  --glass: rgba(255,255,255,.06);   /* frosted glass card fill         */
  --glass-border: rgba(255,255,255,.14);
  --text: #ffffff;          /* main text                               */
  --muted: #8b8b93;         /* small grey text                         */
  --accent: #ff2d55;        /* main pink-red accent                    */
  --accent-2: #ff0a3c;      /* deeper red for gradients                */
  --radius: 22px;           /* corner roundness of cards               */
  --font-display: "Archivo Black", "Inter", sans-serif;  /* big titles */
  --font-body: "Inter", system-ui, sans-serif;           /* body text  */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- ANIMATED BACKGROUND CANVAS (drawn by bg.js) ---------- */
#bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;               /* sits behind everything */
}
/* dark vignette over the canvas so text stays readable */
.bg-shade {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 60% 45%, transparent 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.9) 100%);
}

/* ---------- PAGE FRAME (the rounded window from the design) ---------- */
.frame { max-width: 1400px; margin: 0 auto; padding: 24px 32px 60px; }

/* ---------- TOP NAVIGATION ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 10;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; font-size: 18px; }
.logo-mark {               /* the little striped logo icon */
  width: 26px; height: 26px; border-radius: 6px;
  background: repeating-linear-gradient(135deg, #fff 0 5px, transparent 5px 9px);
}
.nav-links {               /* the black pill hanging from the top center */
  display: flex; gap: 8px;
  background: #000; border: 1px solid #1d1d1f;
  padding: 10px 14px; border-radius: 0 0 22px 22px;
  margin-top: -24px; padding-top: 24px;
}
.nav-links a {
  padding: 8px 18px; border-radius: 999px; font-size: 14px; color: #cfcfd4;
  transition: background .25s, color .25s;
}
.nav-links a:hover { color: #fff; background: #1a1a1c; }
.nav-links a.active { color: #fff; font-weight: 700; }
.contact-btn {             /* white "Contact" pill with phone circle */
  display: flex; align-items: center; gap: 14px;
  background: #fff; color: #000; padding: 6px 6px 6px 22px;
  border-radius: 999px; font-size: 14px; font-weight: 500;
}
.contact-btn span {
  width: 38px; height: 38px; border-radius: 50%;
  background: #111; color: #fff; display: grid; place-items: center;
}

/* ---------- HERO (page 1 top section) ---------- */
.hero {
  position: relative; min-height: 760px;
  display: grid; grid-template-columns: 300px 1fr; gap: 40px;
  padding-top: 40px;
}
.socials { position: absolute; left: 0; top: 230px; display: flex; flex-direction: column; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #000;
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
  transition: transform .2s, background .2s;
}
.socials a:hover { transform: scale(1.1); background: var(--accent); color: #fff; }

.hero-title {              /* the giant ":COMPANY" word */
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 200px);
  line-height: .85; letter-spacing: -.02em;
  text-align: right; position: relative;
  margin-top: 150px;
}
.hero-title .glass-chip {  /* blurred glass squares floating over the title */
  position: absolute; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.tagline { font-weight: 800; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; text-transform: uppercase; }
.tagline em { font-style: normal; color: var(--accent); }
.small { color: var(--muted); font-size: 13px; }
.tiny-caps { font-size: 10px; text-transform: uppercase; color: var(--muted); letter-spacing: .03em; line-height: 1.4; }
.label { font-weight: 700; font-size: 13px; text-transform: uppercase; margin-bottom: 8px; }

.cta {                     /* glowing pink "GET STARTED" button */
  display: inline-grid; place-items: center;
  width: 100%; max-width: 370px; height: 100px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent) 60%, #ff4d8d);
  font-weight: 800; letter-spacing: .03em; font-size: 16px;
  box-shadow: 0 0 60px rgba(255,45,85,.55), inset 0 0 0 2px rgba(255,255,255,.35);
  transition: transform .25s, box-shadow .25s;
}
.cta:hover { transform: translateY(-3px); box-shadow: 0 0 90px rgba(255,45,85,.8), inset 0 0 0 2px rgba(255,255,255,.5); }

/* generic cards */
.card-white { background: #fff; color: #111; border-radius: var(--radius); padding: 10px 10px 22px; text-align: center; }
.card-white h3 { font-weight: 400; font-size: 20px; line-height: 1.1; margin: 12px 0 8px; }
.card-glass {
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius); padding: 28px;
}
.stat { font-family: var(--font-display); font-size: 34px; }
.stat em { font-style: normal; color: var(--accent); }

/* mini animated ring thumbnail (used where the design has red 3D images) */
.thumb {
  border-radius: 14px; overflow: hidden; position: relative;
  background:
    repeating-linear-gradient(160deg, #ff2d55 0 6px, #5a0010 6px 10px, #ff6b8b 10px 13px, #200005 13px 20px);
  background-size: 200% 200%;
  animation: slide 8s linear infinite;
}
@keyframes slide { to { background-position: 200% 0; } }

/* ---------- GENERIC SECTIONS ---------- */
.section { padding: 110px 0 40px; }
.big-head {
  font-weight: 300; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05;
  text-transform: uppercase; letter-spacing: -.01em;
}
.big-head em { font-style: normal; color: var(--accent); }
.page-title { font-family: var(--font-display); font-size: clamp(56px, 10vw, 150px); line-height: .9; margin: 60px 0 20px; }
.page-title em { font-style: normal; color: var(--accent); }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
/* services grid: 3 per row; cards left over on the last row stretch to fill it */
.grid-3x { grid-template-columns: repeat(6, 1fr); }
.grid-3x > * { grid-column: span 2; }
.grid-3x > :last-child:nth-child(3n+1) { grid-column: span 6; }                 /* 1 left over: full row */
.grid-3x > :nth-last-child(2):nth-child(3n+1),
.grid-3x > :last-child:nth-child(3n+2) { grid-column: span 3; }                /* 2 left over: half each */
@media (max-width: 1100px) {
  .grid-3x { grid-template-columns: repeat(2, 1fr); }
  .grid-3x > *, .grid-3x > :last-child:nth-child(3n+1), .grid-3x > :nth-last-child(2):nth-child(3n+1), .grid-3x > :last-child:nth-child(3n+2) { grid-column: auto; }
  .grid-3x > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 700px)  { .grid-3x { grid-template-columns: 1fr; } }
.card-link { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent); transition: transform .25s; }
.card-link:hover { transform: translateX(4px); }

/* app cards (apps.html) */
.app-card { position: relative; transition: transform .3s, border-color .3s; }
.app-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.app-card .thumb { height: 150px; margin-bottom: 20px; display: grid; place-items: center; }
.app-card .thumb b { font-family: var(--font-display); font-size: 44px; color: #fff; text-shadow: 0 4px 30px #000; }
/* App card: the icon is the hero. A soft glow made from the icon's own colors sits behind it. */
.app-card { padding: 30px 28px 26px; }
.app-icon { position: relative; width: 116px; height: 116px; margin: 0 0 24px; }
.app-icon::before {                /* blurred copy of the icon = matching ambient glow */
  content: ""; position: absolute; inset: 6px; border-radius: 30px; z-index: 0;
  background: var(--icon) center / cover no-repeat;
  filter: blur(26px) saturate(1.6); opacity: .5; transform: translateY(10px) scale(1.05);
  transition: opacity .5s, transform .5s;
}
.app-logo {
  position: relative; z-index: 1; display: block;
  width: 116px; height: 116px; border-radius: 28px; object-fit: cover;
  box-shadow: 0 14px 34px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.12);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.app-card:hover .app-logo { transform: translateY(-4px) scale(1.04); }
.app-card:hover .app-icon::before { opacity: .85; transform: translateY(14px) scale(1.15); }
.app-card h3 { font-size: 24px; letter-spacing: -.01em; }
.app-card .chips { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }

/* ---------- APP GUIDE PAGES (app-*.html) ---------- */
.guide-back { display: inline-block; margin: 46px 0 24px; color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s, transform .2s; }
.guide-back:hover { color: #fff; transform: translateX(-4px); }
.guide-hero { display: grid; grid-template-columns: 170px 1fr; gap: 40px; align-items: center; }
.guide-icon, .guide-icon .app-logo { width: 170px; height: 170px; }
.guide-icon .app-logo { border-radius: 40px; }
.guide-title { font-family: var(--font-display); font-size: clamp(42px, 6vw, 80px); line-height: 1; }
.guide-aka { color: var(--accent); font-weight: 700; margin-top: 8px; }
.guide-tagline { color: #d4d4da; font-size: 18px; max-width: 640px; margin: 14px 0 18px; }
.guide-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 30px; }
.guide-steps li { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-border); }
.guide-steps li.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.guide-steps li span {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 14px;
  font-family: var(--font-display); background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 0 20px rgba(255,45,85,.45);
}
.guide-steps li p { color: #d4d4da; font-size: 14.5px; }
.guide-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 30px; }
.guide-feature { padding: 24px; }
.guide-feature.reveal { transition-delay: calc(var(--i, 0) * 70ms); }
.gf-ico { display: block; font-size: 28px; margin-bottom: 12px; }
.guide-feature h3 { font-size: 17px; margin-bottom: 6px; }
.guide-notes ul { list-style: none; display: grid; gap: 12px; }
.guide-notes li { position: relative; padding-left: 28px; color: #d4d4da; }
.guide-notes li::before { content: "ℹ"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
@media (max-width: 700px) {
  .guide-hero { grid-template-columns: 1fr; text-align: center; }
  .guide-icon { margin: 0 auto; }
  .guide-hero .chips, .guide-dl { justify-content: center; }
}

/* app cards open their guide */
.app-card[data-guide] { cursor: pointer; }
.app-guide-link { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--accent); transition: transform .25s; }
.app-card:hover .app-guide-link { transform: translateX(4px); }

/* "free to try" note on apps.html */
.free-note { max-width: 860px; margin: 0 0 56px; padding: 26px 30px; border-left: 3px solid var(--accent); }
.free-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.free-badges span {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(255,45,85,.1); border: 1px solid rgba(255,45,85,.35); color: #fff;
}
.free-badges b { color: var(--accent); }
.free-note p { color: #d4d4da; font-size: 15px; line-height: 1.65; }
.free-note p b { color: #fff; }
.free-note .free-fine { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* download / store buttons on app cards */
.app-dl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.app-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 12px;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 6px 22px rgba(255,45,85,.35);
  transition: transform .25s, box-shadow .25s;
}
.app-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,45,85,.6); }
.app-btn .ico { font-size: 15px; }
.app-btn:not(.store) .ico { animation: bob 1.6s ease-in-out infinite; }
.app-btn.store { background: #0c0c0f; border: 1px solid rgba(255,255,255,.22); box-shadow: none; padding: 7px 16px 7px 12px; }
.app-btn.store:hover { border-color: var(--accent); box-shadow: 0 0 22px rgba(255,45,85,.35); }
.app-btn.store .ico { font-size: 20px; }
.app-btn.store small { display: block; font-size: 9.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; opacity: .75; line-height: 1.1; }
.app-btn[href=""] { opacity: .4; pointer-events: none; filter: grayscale(.6); }       /* no link yet */
.app-btn[href=""]::after {
  content: "Soon"; position: absolute; top: -8px; right: -6px; font-size: 9px; font-weight: 800; letter-spacing: .05em;
  padding: 2px 6px; border-radius: 999px; background: #fff; color: #111; text-transform: uppercase;
}
.app-card h3 { font-size: 22px; margin-bottom: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip { font-size: 11px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--glass-border); color: #ddd; }
.chip.hot { border-color: var(--accent); color: var(--accent); }

/* timeline (about.html) */
.timeline { border-left: 2px solid #2a2a2e; padding-left: 28px; display: grid; gap: 30px; }
.timeline .item { position: relative; }
.timeline .item::before {
  content: ""; position: absolute; left: -36px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 14px var(--accent);
}
.timeline h4 { font-size: 18px; }
.timeline .when { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.timeline ul { margin: 8px 0 0 18px; color: #c9c9cf; font-size: 14px; }

.avatar {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 90px;
  background: radial-gradient(circle at 30% 30%, #ff4d6d, #6a0016 70%);
  box-shadow: 0 0 80px rgba(255,45,85,.35);
  object-fit: cover;
}
.bar { height: 6px; background: #222; border-radius: 9px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), #ff7aa0); border-radius: 9px; }

.footer { margin-top: 100px; padding-top: 30px; border-top: 1px solid #1c1c1f; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* scroll-in animation (bg.js adds .in when visible) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- ANIMATED CARDS (add class="fx-card" to any card) ----------
   • a light that spins around the border      -> speed: "spin 4s" below
   • a glow that follows the mouse             -> color: rgba(255,45,85,.28)
   • 3D tilt on hover                          -> strength: TILT in bg.js     */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --angle: 360deg; } }

.fx-card { position: relative; overflow: hidden; will-change: transform; }
.fx-card > * { position: relative; z-index: 1; }      /* keep text above effects */
.fx-card::before {                                     /* spinning border light */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--angle), transparent 0 65%, var(--accent) 85%, #fff 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 4s linear infinite; pointer-events: none; z-index: 2;
}
.fx-card::after {                                      /* mouse-follow glow */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,45,85,.28), transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.fx-card:hover::after { opacity: 1; }
.fx-card h3 { display: inline-block; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .5s; }
.fx-card:hover h3 { background-size: 100% 2px; }    /* underline grows on hover */
.fx-card .label { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- ANIMATED PHOTO FRAME (about.html) ---------- */
.photo-frame {
  position: relative; border-radius: var(--radius); padding: 3px; overflow: hidden;
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 0 80px rgba(255,45,85,.35);
}
.photo-frame::before {                                 /* rotating glow ring */
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from var(--angle), var(--accent), #000 30%, #ff7aa0 50%, #000 70%, var(--accent));
  animation: spin 5s linear infinite;
}
.photo-frame img {
  position: relative; width: 100%; aspect-ratio: 378 / 496; object-fit: cover;
  border-radius: calc(var(--radius) - 3px); background: #000;
}

/* ---------- AI VIDEOS PAGE (videos.html) ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.video-card { padding: 16px 16px 22px; }
.video-card.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.video-card h3 { font-size: 20px; margin: 18px 4px 6px; }
.video-card .small, .video-card .chips { margin-left: 4px; margin-right: 4px; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  background: #111 center / cover no-repeat; cursor: default;
}
.video-card.vertical .video-frame { aspect-ratio: 9 / 16; max-height: 560px; margin: 0 auto; }
.video-frame::before {             /* "coming soon" shimmer */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, #141418 30%, #2a1219 50%, #141418 70%) 0 0 / 250% 100%;
  animation: videoShimmer 2.4s linear infinite;
}
.video-card.has-video .video-frame::before { background: linear-gradient(transparent 50%, rgba(0,0,0,.55)); animation: none; }
@keyframes videoShimmer { to { background-position: -250% 0; } }
.video-soon { position: relative; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-top: 90px; }
.video-card.has-video .video-soon { display: none; }
.video-play {
  position: absolute; z-index: 1; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; color: #fff; padding-left: 4px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 0 40px rgba(255,45,85,.6);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.video-card:not(.has-video) .video-play { opacity: .35; }
.video-card.has-video .video-frame { cursor: pointer; }
.video-card.has-video:hover .video-play { transform: scale(1.15); }
.video-card.playing .video-play, .video-card.playing .video-frame::before { display: none; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-group { padding-top: 50px; }
.video-group > .small { margin: 8px 0 26px; max-width: 680px; }
.video-cta { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; padding: 46px; }

/* Smooth video playback: while something is full screen, stop every decorative animation and blur.
   While a video plays in a card, keep that card still and drop its heavy effects. */
.media-full *, .media-full *::before, .media-full *::after { animation-play-state: paused !important; }
.media-full .card-glass, .media-full .chat-panel { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.video-card.playing { transform: none !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
.video-card.playing::before, .video-card.playing::after { display: none; }   /* no spinning border / glow over the video */

/* ---------- CHATBOT BUBBLE (chat.js, every page) ---------- */
.chatbot { position: fixed; right: 22px; bottom: 22px; z-index: 90; font-family: var(--font-body); }
.chat-fab {
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; position: relative; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; font-size: 26px;
  box-shadow: 0 10px 30px rgba(255,45,85,.55); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.chat-fab::before {                /* soft pulse ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent);
  animation: chatPulse 2.4s ease-out infinite;
}
.chat-fab:hover { transform: scale(1.08); }
.chat-fab > span { position: absolute; transition: transform .35s, opacity .35s; }
.chat-fab-x { opacity: 0; transform: rotate(-90deg) scale(.6); font-size: 20px; }
.chatbot.open .chat-fab-ico { opacity: 0; transform: rotate(90deg) scale(.6); }
.chatbot.open .chat-fab-x { opacity: 1; transform: none; }
.chatbot.open .chat-fab::before { animation: none; opacity: 0; }
@keyframes chatPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

.chat-panel {
  position: absolute; right: 0; bottom: 78px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
  background: rgba(16,16,20,.92); border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(255,45,85,.15);
  transform-origin: bottom right; animation: chatOpen .35s cubic-bezier(.2,.8,.2,1);
}
.chat-panel[hidden] { display: none; }
@keyframes chatOpen { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { color: var(--muted); font-size: 11.5px; display: flex; align-items: center; gap: 6px; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; display: inline-block; }
.chat-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 13px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.chat-close { margin-left: auto; border: 0; background: rgba(255,255,255,.06); color: #ddd; width: 32px; height: 32px; border-radius: 10px; cursor: pointer; }
.chat-close:hover { background: var(--accent); color: #fff; }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: chatMsg .3s ease; word-wrap: break-word; }
.chat-msg.bot { align-self: flex-start; background: rgba(255,255,255,.07); border-bottom-left-radius: 5px; color: #e6e6ea; }
.chat-msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--accent-2), var(--accent)); border-bottom-right-radius: 5px; color: #fff; }
@keyframes chatMsg { from { opacity: 0; transform: translateY(8px); } }
.chat-msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.chat-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #bbb; animation: chatTyping 1.2s infinite; }
.chat-msg.typing i:nth-child(2) { animation-delay: .15s; }
.chat-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatTyping { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-sugs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chat-sugs[hidden] { display: none; }
.chat-sugs button { border: 1px solid var(--glass-border); background: none; color: #ddd; font: 12px var(--font-body);
  padding: 6px 11px; border-radius: 999px; cursor: pointer; transition: border-color .2s, color .2s; }
.chat-sugs button:hover { border-color: var(--accent); color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,.07); }
.chat-input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.05); color: #fff; font: 14px var(--font-body); outline: none; transition: border-color .2s; }
.chat-input:focus { border-color: var(--accent); }
.chat-send { width: 46px; border: 0; border-radius: 14px; cursor: pointer; color: #fff; font-size: 16px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); transition: transform .2s; }
.chat-send:hover { transform: translateX(2px); }
@media (max-width: 500px) { .chatbot { right: 14px; bottom: 14px; } }

/* ---------- CONTACT FORM (about.html) ---------- */
.contact-form { max-width: 720px; margin: 0 auto; text-align: left; display: grid; gap: 16px; padding: 34px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { position: relative; display: block; }
.cf-field input, .cf-field textarea, .cf-field select {
  width: 100%; padding: 22px 16px 10px; border-radius: 14px; font: 15px var(--font-body); color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--glass-border); outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s, background .3s; appearance: none;
}
.cf-field select { cursor: pointer; }
.cf-field select option { background: #141416; color: #fff; }
.cf-field > span {                 /* floating label */
  position: absolute; left: 16px; right: 16px; top: 17px; color: var(--muted); font-size: 15px; pointer-events: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: transform .25s, font-size .25s, color .25s, top .25s;
}
.cf-field:focus-within > span,
.cf-field input:not(:placeholder-shown) + span,
.cf-field textarea:not(:placeholder-shown) + span,
.cf-field select:valid + span { top: 7px; font-size: 11px; color: var(--accent); letter-spacing: .04em; }
.cf-field input:focus, .cf-field textarea:focus, .cf-field select:focus {
  border-color: var(--accent); background: rgba(255,45,85,.06); box-shadow: 0 0 0 4px rgba(255,45,85,.15), 0 0 30px rgba(255,45,85,.25);
}
.contact-form[data-state="error"] .cf-field :invalid { border-color: #ff6b6b; animation: cfShake .4s; }
@keyframes cfShake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.cf-honey { position: absolute; left: -9999px; opacity: 0; }

/* service picker chips */
.cf-services { border: 1px solid var(--glass-border); border-radius: 14px; padding: 14px 16px 16px; margin: 0; background: rgba(255,255,255,.02); transition: border-color .3s; }
.cf-services legend { padding: 0 6px; font-size: 13px; color: #d4d4da; }
.cf-services legend small { color: var(--muted); margin-left: 6px; }
.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.cf-chip { cursor: pointer; }
.cf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cf-chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--glass-border); color: #d4d4da; background: rgba(255,255,255,.03);
  transition: background .25s, border-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.cf-chip span::before { content: "+"; font-weight: 700; color: var(--accent); transition: transform .3s; }
.cf-chip:hover span { border-color: var(--accent); color: #fff; }
.cf-chip input:checked + span {
  background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-color: transparent; color: #fff;
  box-shadow: 0 0 22px rgba(255,45,85,.45); animation: chipPop .35s cubic-bezier(.2,.8,.2,1);
}
.cf-chip input:checked + span::before { content: "✓"; color: #fff; }
.cf-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@keyframes chipPop { 50% { transform: scale(1.08); } }
.contact-form[data-state="error"] .cf-services:has(:invalid) { border-color: #ff6b6b; animation: cfShake .4s; }

.cf-send {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer;
  padding: 15px 30px; border-radius: 999px; color: #fff; font: 700 15px var(--font-body);
  background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 30px rgba(255,45,85,.45);
  transition: transform .25s, box-shadow .25s; overflow: hidden;
}
.cf-send:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(255,45,85,.75); }
.cf-send:hover .cf-plane { transform: translateX(4px) rotate(-12deg); }
.cf-plane { display: inline-block; transition: transform .3s; }
.contact-form[data-state="sending"] .cf-send { pointer-events: none; opacity: .8; }
.contact-form[data-state="sending"] .cf-plane { animation: cfFly 1s ease-in infinite; }
@keyframes cfFly { 0% { transform: translate(0, 0); opacity: 1; } 60% { transform: translate(40px, -18px) rotate(-20deg); opacity: 0; } 61% { transform: translate(-30px, 10px); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }

.cf-msg { display: none; font-size: 13px; margin: 0; }
.contact-form[data-state="sending"] .cf-msg-sending { display: block; color: var(--muted); }
.contact-form[data-state="error"] .cf-msg-error { display: block; color: #ff8a8a; }
.contact-form[data-state="failed"] .cf-msg-failed { display: block; color: #ff8a8a; }

.cf-done { display: none; text-align: center; padding: 30px 0 10px; }
.contact-form[data-state="sent"] > :not(.cf-done) { display: none; }
.contact-form[data-state="sent"] .cf-done { display: block; animation: lbZoom .5s cubic-bezier(.2,.8,.2,1); }
.cf-done b { display: block; font-size: 24px; margin: 14px 0 6px; }
.cf-check { width: 76px; height: 76px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(255,45,85,.7)); }
.cf-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: cfDraw .7s ease forwards; }
.cf-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: cfDraw .4s .6s ease forwards; }
@keyframes cfDraw { to { stroke-dashoffset: 0; } }
@media (max-width: 700px) { .cf-row { grid-template-columns: 1fr; } .contact-form { padding: 22px; } }

/* ---------- ABOUT US: photo + short intro, full profile on click (about.html) ---------- */
.about-intro { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; margin: 10px 0 40px; }
.about-photo { all: unset; position: relative; display: block; cursor: pointer; border-radius: var(--radius); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.about-photo .photo-frame { display: block; }
.about-photo:hover, .about-photo:focus-visible { transform: scale(1.03); }
.about-photo:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.about-photo-hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; z-index: 2;
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff;
  background: rgba(10,10,14,.75); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: hintPulse 2.2s ease-in-out infinite; transition: background .3s;
}
.about-photo-hint b { color: var(--accent); margin-right: 4px; display: inline-block; transition: transform .4s; }
.about-photo:hover .about-photo-hint { background: var(--accent); }
.about-photo:hover .about-photo-hint b { color: #fff; }
.profile-open .about-photo-hint b { transform: rotate(45deg); }
@keyframes hintPulse { 50% { box-shadow: 0 0 0 8px rgba(255,45,85,.15); } }
.about-name { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); line-height: 1; margin-bottom: 10px; }
.about-name em { font-style: normal; color: var(--accent); }
.about-role { margin: 18px 0 14px; font-weight: 700; color: var(--accent); letter-spacing: .02em; }
.about-bio { color: #d4d4da; max-width: 620px; margin-bottom: 28px; font-size: 16px; }
.profile-btn-arrow { display: inline-block; transition: transform .4s; }
.profile-open .profile-btn-arrow { transform: rotate(180deg); }
.profile-more:not([hidden]) { animation: profileIn .7s cubic-bezier(.2,.8,.2,1); }
@keyframes profileIn { from { opacity: 0; transform: translateY(30px); } }
/* Site Editor: show the full profile while editing so it can be changed */
html:has(script[data-editor]):not(.ed-prev) .profile-more[hidden] { display: block !important; }
@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .about-photo { max-width: 300px; margin: 0 auto; }
  .about-bio { margin-left: auto; margin-right: auto; }
}

/* ---------- OUR TEAM (about.html) + member pages (team-*.html) ---------- */
.about-company { max-width: 760px; color: #d4d4da; font-size: 18px; line-height: 1.65; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 340px)); gap: 24px; margin-top: 30px; }
.team-card { display: flex; flex-direction: column; padding: 14px 14px 22px; cursor: pointer; }
.team-card.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.team-photo { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #111; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 8px 0; }
.team-role { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.team-name { font-size: 22px; }
.team-desc { color: #c4c4cc; font-size: 14px; line-height: 1.55; }
.team-more { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--accent); transition: transform .25s; }
.team-card:hover .team-more { transform: translateX(4px); }
.about-photo.is-static { cursor: default; }
.about-photo.is-static:hover { transform: none; }

/* ---------- LANGUAGE TILES (about.html) ---------- */
.lang-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.lang {
  flex: 1 1 calc(33% - 14px); min-width: 150px;
  position: relative; overflow: hidden; padding: 20px 16px 16px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid var(--glass-border);
  display: flex; flex-direction: column; gap: 2px;
  animation: langFloat 5s ease-in-out infinite; animation-delay: calc(var(--i) * -1s);  /* gentle bob, out of sync */
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.lang:hover { border-color: var(--accent); box-shadow: 0 0 30px rgba(255,45,85,.35); background: rgba(255,45,85,.08); }
.lang .hello {                     /* greeting with a moving shine */
  font-family: var(--font-display); font-size: 26px; line-height: 1.2; margin-bottom: 10px; white-space: nowrap;
  background: linear-gradient(100deg, #fff 30%, var(--accent) 50%, #fff 70%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: helloShine 4s linear infinite; animation-delay: calc(var(--i) * .6s);
}
.lang b { font-size: 15px; }
.lang small { color: var(--muted); font-size: 12px; }
.lang-badge {                      /* certificate badge (only where you have one) */
  align-self: flex-start; margin-top: 10px; position: relative; z-index: 1; font-size: 10px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 999px; color: #fff; background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
.lang::after {                     /* soft glow that drifts across each tile */
  content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; right: -50px; bottom: -60px;
  background: radial-gradient(circle, rgba(255,45,85,.35), transparent 70%);
  animation: langGlow 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); pointer-events: none;
}
@keyframes langFloat { 50% { transform: translateY(-6px); } }
@keyframes helloShine { to { background-position: -250% 0; } }
@keyframes langGlow { 50% { transform: translate(-60px, -30px); } }

/* ---------- CERTIFICATES (about.html) ---------- */
.cert-tabs {                       /* Work / Education switcher */
  position: relative; display: inline-flex; padding: 6px; gap: 4px; margin: 26px 0 20px;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 999px;
}
.cert-tabs button {
  position: relative; z-index: 1; border: 0; background: none; color: #cfcfd4; cursor: pointer;
  font: 600 14px var(--font-body); padding: 10px 22px; border-radius: 999px; transition: color .3s;
}
.cert-tabs button.on { color: #fff; }
.cert-tabs .pill {                 /* the sliding pink highlight */
  position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 24px rgba(255,45,85,.55); transition: transform .45s cubic-bezier(.6,0,.2,1), width .45s;
}
.cert-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.btn-dl {                          /* download buttons */
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 14px; background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 30px rgba(255,45,85,.45); transition: transform .25s, box-shadow .25s;
}
.btn-dl:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(255,45,85,.75); }
.btn-dl .arrow { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.btn-dl.ghost { background: none; border: 1px solid var(--glass-border); box-shadow: none; }
.btn-dl.ghost:hover { border-color: var(--accent); }

.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.cert-grid[hidden] { display: none; }
.cert { display: block; padding: 12px; }
.cert-open { display: block; cursor: zoom-in; }
.cert > .cert-dl {                 /* "⬇ PDF" button on each card */
  position: absolute; top: 22px; right: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 6px 20px rgba(255,45,85,.5); transform: translateY(-4px) scale(.92); opacity: .9;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s, box-shadow .3s;
}
.cert:hover > .cert-dl { transform: none; opacity: 1; }
.cert > .cert-dl:hover { box-shadow: 0 0 30px rgba(255,45,85,.9); transform: scale(1.08); }
.cert-dl .arrow, .lb-dl .arrow { display: inline-block; animation: bob 1.6s ease-in-out infinite; }
.cert-pages {                      /* "2 pages" badge */
  position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; background: rgba(10,10,14,.8); color: #fff;
}
.cert.reveal { transition-delay: calc(var(--i, 0) * 70ms); }   /* cards slide in one by one */
.cert-img {
  display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #f3f3f5; position: relative;
}
.cert-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cert:hover .cert-img img { transform: scale(1.07); }
.cert-img::after {                 /* light sweep on hover */
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%);
}
.cert:hover .cert-img::after { transform: translateX(120%); transition: transform .9s ease; }
.cert-body { display: block; padding: 14px 4px 4px; }
.cert-body b { display: block; font-size: 15px; line-height: 1.25; }
.cert-body small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }

.lightbox {                        /* full-screen certificate viewer */
  position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center;
  background: rgba(5,5,7,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: lbFade .3s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; height: 100vh; padding: 80px 0 70px; display: grid; place-items: center; position: relative; }
.lightbox figure::after {
  content: attr(data-caption); position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 14px;
}
.lightbox img { max-height: calc(100vh - 160px); max-width: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: lbZoom .35s cubic-bezier(.2,.8,.2,1); }
.lightbox button { border: 0; background: rgba(255,255,255,.08); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 24px; cursor: pointer; justify-self: center; transition: background .2s; }
.lightbox button:hover { background: var(--accent); }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; font-size: 18px; }
.lightbox .lb-dl { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 2; padding: 11px 22px; }
.lightbox .lb-dl:hover { transform: translateX(-50%) translateY(-2px); }
@keyframes lbFade { from { opacity: 0; } }
@keyframes lbZoom { from { opacity: 0; transform: scale(.92); } }

/* ---------- PHONE / TABLET LAYOUT ---------- */
@media (max-width: 900px) {
  .frame { padding: 16px 16px 40px; }
  .nav { flex-wrap: wrap; gap: 12px; }
  .nav-links { order: 3; width: 100%; margin-top: 0; padding-top: 10px; border-radius: 22px; justify-content: center; }
  .nav-links a { padding: 8px 12px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .socials { position: static; flex-direction: row; }
  .hero-title { margin-top: 30px; text-align: left; font-size: 16vw; }
  .hero-title .glass-chip { display: none; }   /* hide glass squares on phones */
  .grid-2 { grid-template-columns: 1fr; }
  .hide-mobile { display: none !important; }
}

/* =====================================================================
   NEW LOOK (home page redesign + shared header/footer on every page)
   ===================================================================== */
/* ---------- header ---------- */
.logo-mark {                      /* red double slash */
  width: 30px; height: 26px; border-radius: 0;
  background: linear-gradient(115deg, transparent 0 18%, var(--accent) 18% 42%, transparent 42% 58%, var(--accent) 58% 82%, transparent 82%);
  filter: drop-shadow(0 0 8px rgba(255,45,85,.6));
}
.logo { gap: 12px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; font-size: 21px; font-weight: 900; letter-spacing: .01em; }
.logo-text small { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: #d4d4da; margin-top: 5px; text-transform: uppercase; }
.nav { padding: 6px 0; }
.nav-links { background: none; border: 0; margin: 0; padding: 0; gap: 6px; }
.nav-links a { font-size: 15px; font-weight: 500; color: #e6e6ea; }
.nav-links a.active { color: #fff; font-weight: 700; background: rgba(255,45,85,.12); }
.btn-red, .btn-outline, .btn-white {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 10px;
  font-weight: 700; font-size: 16px; transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-red { background: linear-gradient(180deg, #ff2d4d, #e0102f); color: #fff; box-shadow: 0 8px 28px rgba(255,20,60,.45); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255,20,60,.65); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.85); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-white { background: #fff; color: #111; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,.25); }
.btn-red span, .btn-white span { transition: transform .25s; }
.btn-red:hover span, .btn-white:hover span { transform: translateX(4px); }
.nav-cta { padding: 11px 22px; font-size: 15px; }

/* ---------- footer ---------- */
.footer2 {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; margin-top: 80px; padding: 30px 0 10px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer2 .logo-text { font-size: 19px; }
.f-item { display: inline-flex; align-items: center; gap: 10px; color: #d4d4da; font-size: 15px; padding-left: 40px; border-left: 1px solid rgba(255,255,255,.15); }
.f-item svg, .svc-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-copy { margin-left: auto; color: var(--muted); font-size: 13px; }

/* ---------- home: timeline down the left ---------- */
.timeline-page { position: relative; padding-left: 64px; }
.timeline-page::before {
  content: ""; position: absolute; left: 14px; top: 40px; bottom: 60px; width: 2px;
  background: linear-gradient(var(--accent), rgba(255,45,85,.25) 70%, transparent);
}
.tl-sec { position: relative; padding: 60px 0 20px; }
.tl-sec::before {
  content: attr(data-n); position: absolute; left: -64px; top: 66px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff;
  background: #e0102f; box-shadow: 0 0 0 6px rgba(255,45,85,.15), 0 0 20px rgba(255,45,85,.7);
}
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.eyebrow em { font-style: normal; color: var(--accent); margin-right: 6px; }
.h-xl { font-size: clamp(44px, 6vw, 84px); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; }
.h-xl em, .h-lg em { font-style: normal; color: var(--accent); }
.h-lg { font-size: clamp(30px, 3.6vw, 48px); font-weight: 900; line-height: 1.1; letter-spacing: -.015em; margin-bottom: 30px; }
.lead { font-size: 19px; color: #e6e6ea; max-width: 480px; margin: 22px 0 32px; line-height: 1.5; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- home: hero with device mock-ups ---------- */
.hero2 { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: center; min-height: 560px; }
.hero2-art { position: relative; height: 480px; perspective: 1400px; }
.ribbon { position: absolute; inset: -40px -60px; width: calc(100% + 120px); height: calc(100% + 80px); overflow: visible; }
.rb { fill: none; stroke: url(#rg); stroke-linecap: round; filter: url(#rglow); stroke-dasharray: 900 400; animation: ribbonFlow 7s linear infinite; }
.rb1 { stroke-width: 26; opacity: .85; }
.rb2 { stroke-width: 10; opacity: .6; animation-duration: 9s; animation-direction: reverse; }
.rb3 { stroke-width: 16; opacity: .7; animation-duration: 11s; }
@keyframes ribbonFlow { to { stroke-dashoffset: -1300; } }
.mock-laptop {
  position: absolute; left: 4%; top: 6%; width: 78%; border-radius: 16px; overflow: hidden;
  background: #111116; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 80px rgba(0,0,0,.7), 0 0 60px rgba(255,45,85,.25);
  transform: rotateY(-14deg) rotateX(6deg); animation: mockFloat 7s ease-in-out infinite;
}
.ml-bar { display: flex; gap: 7px; padding: 12px 14px; background: #1a1a20; }
.ml-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.ml-bar i:nth-child(2) { background: #febc2e; } .ml-bar i:nth-child(3) { background: #28c840; }
.ml-body { display: grid; grid-template-columns: 34% 1fr; min-height: 250px; }
.ml-side { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; background: #151519; font-size: 12px; color: #c4c4cc; }
.ml-logo { color: var(--accent); font-size: 20px; font-weight: 900; margin-bottom: 8px; letter-spacing: -2px; }
.ml-side span { padding: 7px 9px; border-radius: 7px; }
.ml-side .on { background: linear-gradient(90deg, #ff2d4d, #e0102f); color: #fff; font-weight: 700; }
.ml-main { padding: 16px; }
.ml-title { font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.ml-chart { width: 100%; height: 90px; overflow: visible; }
.ml-chart path { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.ml-chart path.fill { stroke: none; fill: rgba(255,45,85,.18); }
.ml-chart circle { fill: #fff; filter: drop-shadow(0 0 6px var(--accent)); }
.ml-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ml-tiles span { height: 64px; border-radius: 10px; background: #1d1d23; display: grid; place-items: center; }
.t-bars { display: flex !important; align-items: flex-end; justify-content: center; gap: 4px; padding: 14px; }
.t-bars i { width: 8px; background: var(--accent); border-radius: 2px; }
.t-bars i:nth-child(1) { height: 14px; } .t-bars i:nth-child(2) { height: 24px; } .t-bars i:nth-child(3) { height: 34px; }
.t-pie::after { content: ""; width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(var(--accent) 0 70%, #fff 70% 100%); }
.mock-phone {
  position: absolute; right: 2%; bottom: 0; width: 34%; aspect-ratio: 9 / 18; border-radius: 30px; padding: 22px 14px;
  background: linear-gradient(160deg, #1b1b22, #0b0b0e); border: 3px solid #2b2b33;
  box-shadow: 0 40px 70px rgba(0,0,0,.75), 0 0 50px rgba(255,45,85,.3);
  transform: rotateY(-18deg) rotateZ(4deg); animation: mockFloat 7s ease-in-out infinite -3s;
}
.mp-logo { color: var(--accent); font-size: 18px; font-weight: 900; letter-spacing: -2px; }
.mp-title { font-weight: 900; font-size: 17px; line-height: 1.1; margin: 10px 0 14px; }
.mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mp-grid span { aspect-ratio: 1; border-radius: 12px; background: #23232b; display: grid; place-items: center; font-size: 18px; padding-top: 4px; }
.mp-grid small { display: block; font-size: 9px; color: #ccc; margin-top: -6px; }
@keyframes mockFloat { 50% { translate: 0 -10px; } }

/* ---------- home: services ---------- */
.svc3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card {
  position: relative; overflow: hidden; display: flex; gap: 18px; align-items: flex-start; padding: 26px 24px;
  border-radius: 14px; border: 1px solid rgba(255,45,85,.45);
  background: linear-gradient(160deg, rgba(40,10,16,.9), rgba(14,10,12,.95));
  box-shadow: inset 0 0 30px rgba(255,45,85,.08);
}
.svc-card.reveal, .work-card.reveal, .step.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.svc-card::after {                /* red wave at the bottom */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -36px; height: 70px; border-radius: 50%;
  border-top: 3px solid rgba(255,45,85,.7); filter: blur(1px); box-shadow: 0 -10px 30px rgba(255,45,85,.25);
}
.svc-ico {
  flex-shrink: 0; width: 62px; height: 62px; border-radius: 12px; display: grid; place-items: center; color: #ff4d6a;
  background: linear-gradient(160deg, rgba(255,45,85,.25), rgba(255,45,85,.06)); border: 1px solid rgba(255,45,85,.35);
}
.svc-ico svg { width: 30px; height: 30px; }
.svc-ico.sm { width: 50px; height: 50px; } .svc-ico.sm svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 22px; font-weight: 800; line-height: 1.15; margin-bottom: 8px; }
.svc-card p { color: #d4d4da; font-size: 15px; line-height: 1.45; }
.svc-all { margin-top: 22px; }
.svc-all summary { cursor: pointer; list-style: none; display: inline-flex; gap: 8px; color: var(--accent); font-weight: 700; }
.svc-all summary::-webkit-details-marker { display: none; }
.svc-all[open] summary span { transform: rotate(180deg); }
.svc-all summary span { transition: transform .3s; display: inline-block; }
.svc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 18px; animation: profileIn .5s ease; }
.svc-list article { padding: 18px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.svc-list b { display: block; margin-bottom: 6px; }
.svc-list p { color: #bdbdc5; font-size: 13.5px; line-height: 1.5; }

/* ---------- home: selected work ---------- */
.work2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work-card { display: block; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #0e0e12; transition: transform .35s, border-color .35s; }
.work-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.laptop { display: block; padding: 30px 40px 26px; background: radial-gradient(ellipse at 50% 120%, rgba(255,45,85,.25), transparent 60%), #141418; }
.screen { display: block; position: relative; border: 8px solid #1d1d22; border-bottom-width: 12px; border-radius: 10px 10px 4px 4px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 20px 40px rgba(0,0,0,.6); }
.screen::after { content: ""; position: absolute; left: -12%; right: -12%; bottom: -26px; height: 14px; background: #2a2a30; border-radius: 0 0 14px 14px; }
.screen img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.work-card:hover .screen img { transform: scale(1.05); }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; font-size: 15px; color: #d4d4da; }
.work-meta b { color: #fff; }
.work-meta i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; background: #c5102c; color: #fff; }
.try-apps {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; margin-top: 18px; padding: 20px 26px;
  border-radius: 14px; border: 1px solid rgba(255,45,85,.5); background: linear-gradient(90deg, rgba(120,10,25,.55), rgba(40,8,14,.6));
  transition: border-color .3s, transform .3s;
}
.try-apps:hover { border-color: var(--accent); transform: translateY(-2px); }
.try-apps b { font-size: 26px; font-weight: 900; color: #ff3b5c; }
.try-apps span { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.3); color: #e6e6ea; font-size: 17px; }
.try-apps i { margin-left: auto; font-style: normal; width: 50px; height: 34px; border-radius: 999px; border: 1.5px solid #fff; display: grid; place-items: center; transition: transform .3s; }
.try-apps:hover i { transform: translateX(4px); }

/* ---------- home: how we work ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { display: flex; gap: 16px; padding: 4px 22px; border-left: 1px solid rgba(255,255,255,.14); }
.step:first-child { border-left: 0; padding-left: 0; }
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.step p { color: #d4d4da; font-size: 14px; line-height: 1.45; }

/* ---------- home: call to action ---------- */
.cta-band {
  position: relative; overflow: hidden; padding: 40px 44px; border-radius: 18px; border: 1px solid rgba(255,45,85,.55);
  background: radial-gradient(ellipse at 85% 50%, rgba(255,45,85,.45), transparent 55%), linear-gradient(90deg, #2a0710, #12060a);
}
.cta-band::after {
  content: ""; position: absolute; right: -10%; top: 10%; width: 70%; height: 160%; border-radius: 50%;
  border-top: 4px solid rgba(255,90,120,.6); filter: blur(1.5px); transform: rotate(-12deg); animation: ctaWave 8s ease-in-out infinite;
}
@keyframes ctaWave { 50% { transform: rotate(-6deg) translateY(-10px); } }
.cta-band .h-lg { margin-bottom: 10px; position: relative; z-index: 1; }
.cta-band p { color: #e6e6ea; font-size: 18px; margin-bottom: 24px; position: relative; z-index: 1; }
.cta-band .btn-white { position: relative; z-index: 1; }

/* ---------- new look: tablets & phones ---------- */
@media (max-width: 1000px) {
  .hero2 { grid-template-columns: 1fr; }
  .hero2-art { height: 400px; max-width: 560px; }
  .svc3, .work2 { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 700px) {
  .timeline-page { padding-left: 0; }
  .timeline-page::before, .tl-sec::before { display: none; }
  .hero2-art { height: 320px; }
  .steps4 { grid-template-columns: 1fr; }
  .step { border-left: 0; padding-left: 0; }
  .try-apps { flex-wrap: wrap; } .try-apps span { border-left: 0; padding-left: 0; }
  .f-item { border-left: 0; padding-left: 0; }
  .f-copy { margin-left: 0; }
  .logo-text { font-size: 18px; }
  .nav-cta { order: 2; }
}

/* phones: logo + "Let's talk" on one row */
@media (max-width: 700px) {
  .logo-text small { font-size: 7.5px; letter-spacing: .08em; }
  .logo-mark { width: 24px; height: 21px; }
  .nav { gap: 10px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .nav-links { justify-content: space-between; }
}

/* ---------- home hero: realistic device picture ---------- */
.hero2 { grid-template-columns: .9fr 1.25fr; }
.hero2-art { height: auto; perspective: none; position: relative; }
.hero2-art::before {               /* soft red glow behind the devices */
  content: ""; position: absolute; inset: 15% 10% 5% 15%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,30,70,.35), transparent); filter: blur(30px); z-index: 0;
}
.hero-devices {
  position: relative; z-index: 1; display: block; width: 118%; max-width: none; height: auto; margin: 0 -10% 0 -8%;
  /* fade every edge into the page background */
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 52% 52%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 52% 52%, #000 55%, transparent 100%);
  animation: devicesFloat 8s ease-in-out infinite;
}
@keyframes devicesFloat { 50% { transform: translateY(-10px); } }
@media (max-width: 1000px) {
  .hero2 { grid-template-columns: 1fr; }
  .hero-devices { width: 112%; margin: 0 -6%; }
}
.hero2 { overflow-x: clip; overflow-y: visible; }

/* ---------- home hero: separate desktop + phone pictures ---------- */
/* ✏️ sizes: .duo-desktop width = monitor size, .duo-phone width = phone size */
.hero-duo { position: relative; padding: 4% 14% 8% 0; }
.hero-duo::before { content:""; position:absolute; inset:10% 5% 0 5%; border-radius:50%;
  background: radial-gradient(closest-side, rgba(255,30,70,.32), transparent); filter: blur(40px); z-index:0; }
.duo-desktop { position:relative; z-index:1; display:block; width:100%; height:auto;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)); animation: duoFloat 9s ease-in-out infinite; }
.duo-phone { position:absolute; z-index:2; right:0; bottom:0; width:31%; height:auto;
  filter: drop-shadow(-12px 24px 30px rgba(0,0,0,.8)); animation: duoFloat 7s ease-in-out -2s infinite; }
@keyframes duoFloat { 50% { transform: translateY(-12px); } }
@media (max-width:1000px){ .hero-duo{ padding:2% 12% 10% 0; max-width:620px; margin:0 auto; } }
@media (prefers-reduced-motion: reduce){ .duo-desktop,.duo-phone{ animation:none; } }
.hero-duo .ribbon { z-index: 0; pointer-events: none; }
/* ✏️ ribbon reaches the right edge of the screen (change -25vw to make it longer/shorter) */
.hero2 { overflow: visible; }
html, body { overflow-x: clip; }
.hero-duo .ribbon { left: -60px; right: auto; width: calc(100% + 60px + 25vw); }

/* ---------- "See all 9 services" cards: pop in one by one + hover effects ---------- */
/* ✏️ speed of the pop-in: .5s below; gap between cards: 70ms */
.svc-all[open] .svc-list { animation: none; }
.svc-all[open] .svc-list article { animation: svcPop .55s cubic-bezier(.2,.8,.2,1.15) backwards; }
.svc-list article:nth-child(1){animation-delay:0ms} .svc-list article:nth-child(2){animation-delay:70ms}
.svc-list article:nth-child(3){animation-delay:140ms} .svc-list article:nth-child(4){animation-delay:210ms}
.svc-list article:nth-child(5){animation-delay:280ms} .svc-list article:nth-child(6){animation-delay:350ms}
.svc-list article:nth-child(7){animation-delay:420ms} .svc-list article:nth-child(8){animation-delay:490ms}
.svc-list article:nth-child(9){animation-delay:560ms}
@keyframes svcPop { from { opacity:0; transform: translateY(24px) scale(.94); filter: blur(4px); } to { opacity:1; transform:none; filter:none; } }
.svc-list article { transition: border-color .3s, background .3s, box-shadow .3s; }
.svc-list article:hover { border-color: rgba(255,45,85,.45); background: rgba(255,45,85,.06); box-shadow: 0 14px 34px rgba(255,20,60,.18); }
.svc-list article b { display: inline-block; padding-bottom: 3px; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .5s, color .3s; }
.svc-list article:hover b { background-size: 100% 2px; color: #fff; }
@media (prefers-reduced-motion: reduce){ .svc-all[open] .svc-list article { animation: none; } }

/* ===== BETA LABEL (apps that are still in testing) ===== */
.beta-tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 9px 2px; border-radius: 999px;
  font: 800 11px/1.2 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, #ff2d55, #ff7a45); box-shadow: 0 0 14px rgba(255,45,85,.45); position: relative; top: -2px; }
.guide-title .beta-tag { font-size: 13px; top: -6px; }
.beta-line { display: block; margin-top: 6px; font-style: normal; color: #ff8aa0; }
.beta-note { margin: 10px 0 4px; padding: 10px 14px; border: 1px solid rgba(255,45,85,.45); border-radius: 12px;
  background: rgba(255,45,85,.08); color: #ffd0d8; font-size: 14px; max-width: 620px; }
.beta-note b { color: #ff5c7a; }

/* ===== DioXebec LOGO (nav + footer icon) — file: images/dioxebec-mark.png ===== */
.logo-mark { width: 46px; height: 35px; border-radius: 0; background: url("images/dioxebec-mark.png") center / contain no-repeat;
  filter: drop-shadow(0 0 10px rgba(255,45,85,.35)); flex: none; }
@media (max-width: 700px) { .logo-mark { width: 38px; height: 29px; } }

/* ===== APPS PAGE TOP: "Don't rent, fully own your apps" + free-to-try note side by side ===== */
.apps-top { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; align-items: stretch; margin-bottom: 56px; }
.apps-top .free-note { max-width: none; margin: 0; align-self: start; }
.own { padding: 30px 32px; border-left: 3px solid var(--accent); }
.own-kicker { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.own-head { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; font-weight: 300; text-transform: uppercase; margin-bottom: 12px; }
.own-head em { font-style: normal; color: var(--accent); font-weight: 600; }
.own-lead { color: #d4d4da; font-size: 15.5px; line-height: 1.6; margin-bottom: 20px; }
.own-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin: 0 0 18px; padding: 0; }
.own-list li { display: flex; gap: 12px; align-items: flex-start; color: #c9c9cf; font-size: 13.5px; line-height: 1.5; }
.own-list b { display: block; color: #fff; font-size: 15px; margin-bottom: 3px; }
.own-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-size: 18px;
  background: rgba(255,45,85,.12); border: 1px solid rgba(255,45,85,.35); }
.own-fine { color: var(--muted); font-size: 12.5px; line-height: 1.6; margin-bottom: 18px; }
@media (max-width: 1000px) { .apps-top { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .own { padding: 24px 20px; } .own-list { grid-template-columns: 1fr; } }

/* labels that tell the two top boxes apart: paid custom work vs. my free apps */
.box-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.box-tag.paid { color: #fff; background: linear-gradient(135deg, #ff2d55, #e0102f); box-shadow: 0 4px 18px rgba(255,20,60,.35); }
.box-tag.free { color: #7dffb0; background: rgba(40,200,110,.12); border: 1px solid rgba(60,220,130,.45); }
.free-head { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.apps-top .free-note { border-left-color: #2fd47a; }
.free-jump { display: inline-block; margin-top: 14px; color: #7dffb0; font-weight: 700; }
.free-jump:hover { text-decoration: underline; }
.own-lead b { color: #fff; }
#my-apps { scroll-margin-top: 20px; }
.own-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,45,85,.07); border: 1px dashed rgba(255,45,85,.5); color: #c9c9cf; font-size: 13.5px; line-height: 1.55; }
.own-note b { display: block; color: #fff; font-size: 15px; margin-bottom: 3px; }

/* contact form: Google account box (shows when "Desktop & Mobile Apps" is picked) */
.cf-google { display: grid; gap: 10px; padding: 16px; border-radius: 14px; border: 1px dashed rgba(255,45,85,.55);
  background: rgba(255,45,85,.06); animation: cfGoogleIn .35s ease; }
.cf-google[hidden] { display: none; }
.cf-noacc { display: flex; gap: 10px; align-items: flex-start; color: #c9c9cf; font-size: 13.5px; line-height: 1.5; cursor: pointer; }
.cf-noacc input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.cf-google input:disabled { opacity: .45; }
@keyframes cfGoogleIn { from { opacity: 0; transform: translateY(-8px); } }
.inline-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.inline-link:hover { color: #fff; }

/* home "Selected work": silent looping YouTube preview inside the laptop screen (clicks go to YouTube) */
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none;
  transform: scale(1.04); opacity: 0; transition: opacity .8s; }
.screen.playing iframe { opacity: 1; }
.work-card[data-youtube] .screen::before { content: "▶  Watch on YouTube"; position: absolute; z-index: 2; right: 10px; bottom: 10px;
  padding: 6px 12px; border-radius: 999px; font: 700 12px/1 Inter, sans-serif; color: #fff; background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.2); opacity: 0; transform: translateY(6px); transition: .3s; }
.work-card[data-youtube]:hover .screen::before { opacity: 1; transform: none; background: var(--accent); }

/* videos page: silent looping previews (click opens YouTube) */
.video-frame .video-preview { pointer-events: none; transform: scale(1.04); opacity: 0; transition: opacity .8s; }
.video-card.previewing .video-preview { opacity: 1; }
.video-card.previewing .video-play { opacity: 0; transform: scale(.6); }
.video-card.yt .video-frame::after { content: "▶  Watch on YouTube"; position: absolute; z-index: 2; right: 10px; bottom: 10px;
  padding: 6px 12px; border-radius: 999px; font: 700 12px/1 Inter, sans-serif; color: #fff; background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.2); opacity: 0; transform: translateY(6px); transition: .3s; }
.video-card.yt:hover .video-frame::after { opacity: 1; transform: none; background: var(--accent); }
.video-card.yt.previewing:hover .video-play { opacity: 1; transform: scale(1); }
