/* Aile Yönetimi corporate site — release 004
   A brighter, calmer visual system shared by home, product, guide and legal pages. */

:root {
  --bg: #f7f9ff;
  --bg-2: #edf3ff;
  --panel: rgba(255, 255, 255, .82);
  --panel-strong: #ffffff;
  --line: rgba(36, 61, 117, .11);
  --line-strong: rgba(63, 92, 158, .18);
  --text: #12203d;
  --muted: #61708f;
  --muted-2: #8995ad;
  --blue: #4c72f2;
  --cyan: #16a8c9;
  --purple: #7559dc;
  --pink: #d8589d;
  --green: #169d78;
  --yellow: #d8951b;
  --shadow: 0 28px 80px rgba(41, 65, 119, .13);
  --radius: 30px;
}

html { background: var(--bg); }

body {
  color: var(--text);
  background:
    radial-gradient(circle at 8% 2%, rgba(96, 190, 255, .18), transparent 27%),
    radial-gradient(circle at 92% 10%, rgba(147, 116, 255, .15), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, #f3f7ff 45%, #fbfcff 100%);
}

body.inner-body {
  background:
    radial-gradient(circle at 82% 4%, rgba(142, 112, 236, .14), transparent 25%),
    radial-gradient(circle at 10% 18%, rgba(91, 181, 245, .14), transparent 26%),
    linear-gradient(180deg, #f8faff 0%, #eef4ff 42%, #fbfcff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: linear-gradient(rgba(75, 105, 170, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(75, 105, 170, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 70%);
}

.noise { display: none; }
.ambient { opacity: .09; }
.ambient-a { background: #4aa7ff; }
.ambient-b { background: #9a70ff; }
.eyebrow { color: #3d69d6; }
.eyebrow::before { background: linear-gradient(90deg, #4f7df3, transparent); }

/* Header */
.site-header { padding-top: 8px; }
.site-header.is-scrolled {
  background: rgba(250, 252, 255, .86);
  border-color: rgba(42, 67, 122, .1);
  box-shadow: 0 10px 35px rgba(36, 59, 111, .08);
}
.header-inner { height: 70px; }
.brand { color: #172442; }
.brand strong { color: #5271d9; }
.brand img { box-shadow: 0 10px 25px rgba(67, 91, 180, .2); }
.desktop-nav > a { color: #556684; font-weight: 650; }
.desktop-nav > a:hover { color: #2d54c3; }
.header-app,
.header-back,
.language-trigger,
.menu-toggle {
  color: #203051;
  background: rgba(255, 255, 255, .78);
  border-color: rgba(40, 67, 126, .12);
  box-shadow: 0 8px 24px rgba(53, 75, 123, .07);
}
.header-app { background: #172442; color: #fff; }
.language-panel,
.mobile-menu {
  background: rgba(255, 255, 255, .97);
  border-color: rgba(45, 70, 127, .12);
  box-shadow: 0 24px 70px rgba(31, 53, 104, .16);
}
.language-option:hover,
.language-option.is-active { background: #edf3ff; }
.language-option small,
.mobile-menu a { color: #66738d; }
.menu-toggle i { background: #243455; }

/* First viewport */
.hero {
  padding: 126px 0 44px;
  min-height: min(860px, 100svh);
}
.hero::before {
  content: "";
  position: absolute;
  width: 590px;
  height: 590px;
  right: max(-180px, calc((100vw - 1180px) / 2 - 120px));
  top: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(104, 211, 255, .34), rgba(117, 102, 239, .18) 48%, transparent 72%);
  pointer-events: none;
}
.hero-grid { gap: clamp(35px, 6vw, 86px); }
.hero-copy { position: relative; z-index: 5; }
.hero-copy h1 {
  max-width: 680px;
  margin: 20px 0 22px;
  color: #10203f;
  font-size: clamp(48px, 5.7vw, 78px);
  line-height: .99;
  letter-spacing: -.058em;
}
.hero-copy h1 span {
  background: linear-gradient(105deg, #305fc8 5%, #657de8 46%, #875dd7 76%, #b64f91);
  -webkit-background-clip: text;
}
.hero-copy > p { color: #596b8b; font-size: 18px; line-height: 1.65; }
.store-actions { gap: 10px; }
.store-button {
  height: 60px;
  color: #172340;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(34, 58, 111, .12);
  box-shadow: 0 14px 32px rgba(46, 68, 117, .1);
}
.store-button:hover { border-color: rgba(57, 86, 157, .25); box-shadow: 0 18px 38px rgba(45, 67, 116, .15); }
.store-button small { color: #73809a; }
.store-button--apple { background: #14213d; color: #fff; border-color: #14213d; }
.store-button--apple small { color: #c9d2e5; }
.store-button--google { background: #fff; }
.store-actions > .button--secondary {
  min-height: 60px;
  color: #365fc7;
  background: #edf3ff;
  border-color: rgba(61, 96, 183, .14);
  box-shadow: none;
}
.store-badge { background: #fff; color: #13203b; }
.hero-note { color: #63718c; }
.hero-note small { background: rgba(22, 157, 120, .08); color: #137d61; border-color: rgba(22, 157, 120, .18); }
.pulse-dot { background: #16a779; }
.hero-stack-halo { opacity: .48; }
.hero-device {
  background: linear-gradient(145deg, #fbfdff, #adb9cf 18%, #29344f 47%, #0c1325 72%);
  box-shadow: 0 42px 90px rgba(31, 49, 94, .25);
}
.hero-floating-logo { background: rgba(255, 255, 255, .78); border-color: rgba(69, 95, 158, .13); box-shadow: 0 20px 48px rgba(59, 86, 166, .2); }

.trust-strip {
  margin-top: 8px;
  background: rgba(255, 255, 255, .72);
  border-color: rgba(45, 70, 127, .1);
  box-shadow: 0 20px 60px rgba(42, 64, 112, .08);
}
.trust-item { border-color: rgba(45, 70, 127, .09); }
.trust-item strong { color: #244da9; }
.trust-item span { color: #697791; }

/* Shared content cards */
.section-heading h2,
.connected-head h2,
.private-title-row h2,
.legal-hero h1,
.guide-hero h1,
.module-hero h1 { color: #12203d; }
.section-heading p,
.assistant-panel p,
.flow-card p,
.security-card p,
.module-card p { color: #667590; }
.modules-section { background: linear-gradient(180deg, transparent, rgba(227, 235, 252, .7), transparent); }
.assistant-panel,
.module-card,
.flow-card,
.security-card,
.step-card,
.faq-item,
.scenario-card,
.feature-item,
.problem-card,
.usage-item,
.more-module-grid > a {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(39, 65, 124, .1);
  box-shadow: 0 18px 50px rgba(39, 61, 111, .08);
}
.assistant-panel { background: linear-gradient(135deg, rgba(229, 237, 255, .95), rgba(247, 242, 255, .94)); }
.assistant-panel h3,
.module-card h3,
.flow-card h3,
.security-card h3,
.step-card h3,
.faq-item summary { color: #172541; }
.assistant-panel li { color: #52627f; }
.module-card:hover { box-shadow: 0 28px 62px rgba(42, 64, 117, .13); }
.module-arrow { color: #4168c8; border-color: rgba(51, 82, 154, .13); background: #f3f6ff; }
.module-number { color: #7c89a2; }
.module-open,
.assistant-panel a { color: #3767d4; }
.flow-line { opacity: .7; }

.system-node,
.node,
.floating-chip {
  color: #26385d;
  background: rgba(255, 255, 255, .92);
  border-color: rgba(50, 79, 147, .12);
  box-shadow: 0 12px 28px rgba(45, 67, 116, .1);
}
.system-orbit-ring { border-color: rgba(79, 109, 183, .2); }
.system-globe { box-shadow: inset -28px -22px 50px rgba(20, 34, 78, .26), inset 18px 14px 34px rgba(255, 255, 255, .22), 0 35px 75px rgba(51, 73, 127, .2); }

/* Connected product ecosystem */
.system-map {
  position: relative;
  min-height: 610px;
  border: 1px solid rgba(60, 88, 154, .1);
  border-radius: 46px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 48%, rgba(104, 132, 238, .18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(236, 242, 255, .7));
  box-shadow: 0 32px 90px rgba(43, 64, 113, .11), inset 0 1px 0 rgba(255, 255, 255, .92);
}
.system-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(63, 91, 153, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 91, 153, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000 15%, transparent 72%);
  pointer-events: none;
}
.ecosystem-aura {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 330px;
  height: 330px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 30deg, rgba(65, 128, 242, .28), rgba(135, 91, 222, .24), rgba(22, 168, 201, .22), rgba(65, 128, 242, .28));
  filter: blur(34px);
  opacity: .68;
  animation: ecosystem-breathe 5.5s ease-in-out infinite;
}
.system-orbit-ring {
  z-index: 1;
  left: 50%;
  top: 50%;
  border-style: solid;
  border-color: rgba(76, 105, 175, .17);
  box-shadow: none;
}
.system-orbit-ring--outer {
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  animation: ecosystem-orbit 24s linear infinite;
}
.system-orbit-ring--outer::before,
.system-orbit-ring--outer::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5778ea;
  box-shadow: 0 0 0 7px rgba(87, 120, 234, .1), 0 0 22px rgba(87, 120, 234, .55);
}
.system-orbit-ring--outer::before { left: 47px; top: 55px; }
.system-orbit-ring--outer::after { right: 47px; bottom: 55px; background: #23a9c8; }
.system-orbit-ring--inner {
  width: 292px;
  height: 292px;
  transform: translate(-50%, -50%);
  border-style: dashed;
  border-color: rgba(117, 89, 220, .2);
  animation: ecosystem-orbit-reverse 18s linear infinite;
}
.system-signal {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(74, 111, 207, .22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: ecosystem-signal 3.8s ease-out infinite;
}
.system-signal--two { animation-delay: 1.9s; }
.system-orbit-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  animation: none;
}
.system-node {
  position: absolute;
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  gap: 10px;
  width: 176px;
  min-height: 64px;
  padding: 9px 12px 9px 9px;
  color: #1d2d4d;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(58, 85, 148, .1);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(43, 64, 110, .12), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  white-space: normal;
  animation: ecosystem-node-float 5s ease-in-out infinite;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.system-node:hover {
  transform: translateY(-5px) scale(1.025);
  border-color: rgba(76, 105, 202, .24);
  box-shadow: 0 22px 48px rgba(48, 69, 119, .17), inset 0 1px 0 #fff;
}
.system-node-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 15px;
  background: linear-gradient(145deg, #eef3ff, #fff);
  box-shadow: 0 8px 18px rgba(48, 72, 126, .1);
}
.system-node-icon img { width: 39px; height: 39px; object-fit: contain; }
.system-node-copy { min-width: 0; }
.system-node-copy strong,
.system-node-copy small { display: block; }
.system-node-copy strong { font-size: 12px; line-height: 1.25; color: #1b2d50; }
.system-node-copy small { margin-top: 3px; color: #7b88a1; font-size: 9px; line-height: 1.25; }
.system-node-1 { left: 50%; top: 28px; transform: translateX(-50%); animation-delay: -.8s; }
.system-node-2 { right: 18px; top: 154px; animation-delay: -1.6s; }
.system-node-3 { right: 28px; bottom: 103px; animation-delay: -2.4s; }
.system-node-4 { left: 50%; bottom: 25px; transform: translateX(-50%); animation-delay: -3.2s; }
.system-node-5 { left: 18px; bottom: 103px; animation-delay: -4s; }
.system-node-6 { left: 18px; top: 154px; animation-delay: -4.8s; }
.system-node-1:hover,
.system-node-4:hover { transform: translateX(-50%) translateY(-5px) scale(1.025); }
.system-globe {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  width: 190px;
  height: 190px;
  transform: translate(-50%, -50%);
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(225, 234, 255, .92));
  border: 1px solid rgba(77, 104, 173, .15);
  box-shadow: 0 28px 70px rgba(49, 71, 128, .2), inset 0 1px 0 #fff;
}
.system-globe::before {
  content: "";
  position: absolute;
  inset: -9px;
  z-index: -1;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, #5c78e8, #9b63da, #2fb1cc, #5c78e8);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ecosystem-orbit 7s linear infinite;
}
.system-globe::after { background: linear-gradient(130deg, rgba(255, 255, 255, .72), transparent 38%); }
.system-globe-grid {
  inset: 9px;
  opacity: .38;
  background: radial-gradient(circle at center, transparent 48%, rgba(78, 108, 185, .11) 49%, transparent 51%), repeating-conic-gradient(from 10deg, rgba(82, 112, 187, .08) 0 1deg, transparent 1deg 23deg);
  animation: ecosystem-orbit 18s linear infinite;
}
.system-globe-logo {
  width: 96px;
  height: 96px;
  animation: ecosystem-logo 6s ease-in-out infinite;
}
.system-globe-logo img {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 29px;
  filter: drop-shadow(0 15px 22px rgba(44, 68, 129, .22));
}
.system-live {
  left: 50%;
  bottom: 17px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 150px;
  transform: translateX(-50%);
  color: #34496f;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(66, 94, 157, .1);
  font-size: 9px;
  white-space: nowrap;
}
.system-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #18a97c;
  box-shadow: 0 0 0 5px rgba(24, 169, 124, .1);
}
@keyframes ecosystem-orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes ecosystem-orbit-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes ecosystem-breathe { 0%, 100% { transform: translate(-50%, -50%) scale(.92); opacity: .5; } 50% { transform: translate(-50%, -50%) scale(1.08); opacity: .76; } }
@keyframes ecosystem-signal { 0% { transform: translate(-50%, -50%) scale(.72); opacity: 0; } 20% { opacity: .45; } 100% { transform: translate(-50%, -50%) scale(2.18); opacity: 0; } }
@keyframes ecosystem-node-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes ecosystem-logo { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.025); } }

.private-panel {
  background: radial-gradient(circle at 83% 25%, rgba(219, 171, 255, .22), transparent 34%), linear-gradient(135deg, #fbf7ff, #eef3ff);
  border-color: rgba(154, 93, 197, .16);
  box-shadow: 0 25px 70px rgba(72, 61, 119, .1);
}
.private-copy > p,
.private-copy li,
.private-note span { color: #6b6681; }
.private-copy li { background: rgba(255, 255, 255, .63); }
.private-note { background: rgba(255, 255, 255, .7); }
.private-note b { color: #9b3d78; }

.security-section { background: radial-gradient(circle at 50% 45%, rgba(87, 125, 219, .09), transparent 38%); }
.security-visual {
  background: radial-gradient(circle at center, rgba(108, 155, 255, .22), transparent 42%), linear-gradient(160deg, #eef4ff, #f9fbff);
  border-color: rgba(52, 82, 150, .13);
  box-shadow: 0 25px 70px rgba(41, 64, 116, .1);
}
.security-core { background: radial-gradient(circle at 38% 30%, #638cf0, #273f82 68%); box-shadow: 0 26px 60px rgba(45, 71, 139, .23); }
.security-orbit > span { color: #345493; background: #fff; border-color: rgba(49, 78, 145, .12); }
.security-metrics div { background: rgba(255, 255, 255, .88); }
.security-metrics strong { color: #3564c7; }
.security-metrics span { color: #75819a; }

.screen-card,
.detail-screen,
.guide-screen { box-shadow: 0 28px 65px rgba(34, 52, 94, .16); }
.faq-support,
.cta-panel,
.module-bottom-cta {
  background: linear-gradient(135deg, #eaf2ff, #f5efff);
  border-color: rgba(53, 82, 149, .12);
  box-shadow: 0 24px 70px rgba(42, 63, 111, .1);
}
.faq-support p,
.cta-panel p,
.module-bottom-cta p { color: #65748e; }
.site-footer { background: #edf2fb; border-color: rgba(42, 65, 119, .1); }
.footer-brand p,
.footer-links a,
.footer-bottom { color: #6a7891; }
.footer-links strong { color: #213254; }

/* Detail, guide and legal pages */
.detail-main,
.guide-main,
.legal-main { background: linear-gradient(180deg, rgba(236, 243, 255, .78), transparent 36%); }
.detail-sheet,
.guide-sheet { background: #f8faff; border-color: rgba(43, 69, 127, .1); }
.module-hero-copy > p,
.guide-hero-copy > p,
.legal-hero p { color: #65748f; }
.module-badge,
.guide-orb { background: linear-gradient(145deg, #edf3ff, #f8f3ff); border-color: rgba(54, 84, 153, .12); box-shadow: 0 24px 60px rgba(47, 69, 119, .11); }
.legal-toc-card,
.legal-content {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(42, 68, 126, .1);
  box-shadow: 0 20px 60px rgba(42, 63, 110, .08);
}
.legal-toc-card > a { color: #6b7891; }
.legal-toc-card > a:hover,
.legal-toc-card > a.is-active { color: #2e5ec5; background: #eef3ff; }
.legal-content h2 { color: #172541; border-color: rgba(44, 69, 126, .1); }
.legal-content h3 { color: #355cae; }
.legal-content p,
.legal-content li { color: #5f6f89; }
.legal-content strong { color: #172541; }

@media (max-width: 1050px) {
  .site-header { padding-top: 4px; }
  .hero { min-height: auto; }
  .hero-visual { order: 0; }
  .hero-copy { text-align: center; }
  .hero-copy h1 { margin-inline: auto; }
}

@media (max-width: 740px) {
  :root { --shell: min(100% - 28px, 1180px); }
  body::before { background-size: 42px 42px; }
  .site-header { padding-top: 0; }
  .header-inner { height: 64px; }
  .hero {
    padding: 82px 0 32px;
    min-height: auto;
  }
  .hero::before { width: 360px; height: 360px; right: -180px; top: 36px; }
  .hero-grid { gap: 12px; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .hero-copy h1 { font-size: clamp(39px, 11.4vw, 49px); margin: 13px auto 14px; line-height: 1.02; }
  .hero-copy > p { font-size: 14px; line-height: 1.5; margin: 0 auto 17px; max-width: 520px; }
  .store-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .store-button { height: 52px; padding-inline: 9px; border-radius: 15px; }
  .store-button small { font-size: 8px; }
  .store-button strong { font-size: 13px; }
  .store-actions > .button--secondary { min-height: 48px; grid-column: 1 / -1; }
  .hero-note { justify-content: center; margin-top: 12px; font-size: 11px; }
  .hero-note small { display: none; }
  .hero-visual,
  .hero-stack { min-height: 390px; }
  .hero-device { width: 188px; }
  .hero-device--left { left: -7%; top: 83px; }
  .hero-device--right { right: -9%; top: 94px; }
  .hero-floating-logo { bottom: 20px; }
  .trust-strip { margin-top: 0; }
  .section { padding: 72px 0; }
  .section-heading h2 { font-size: 36px; }
  .module-card { min-height: 300px; }
  .site-header.is-scrolled,
  .language-panel,
  .mobile-menu { backdrop-filter: blur(18px) !important; -webkit-backdrop-filter: blur(18px) !important; }
  .system-map { min-height: 500px; border-radius: 32px; margin-top: 18px; }
  .system-orbit-ring--outer { width: 340px; height: 340px; }
  .system-orbit-ring--inner { width: 225px; height: 225px; }
  .ecosystem-aura { width: 245px; height: 245px; }
  .system-node { grid-template-columns: 35px 1fr; gap: 7px; width: 132px; min-height: 52px; padding: 7px; border-radius: 16px; }
  .system-node-icon { width: 35px; height: 35px; border-radius: 12px; }
  .system-node-icon img { width: 31px; height: 31px; }
  .system-node-copy strong { font-size: 10px; }
  .system-node-copy small { display: none; }
  .system-node-1 { top: 20px; }
  .system-node-2 { right: 8px; top: 125px; }
  .system-node-3 { right: 11px; bottom: 84px; }
  .system-node-4 { bottom: 18px; }
  .system-node-5 { left: 8px; bottom: 84px; }
  .system-node-6 { left: 8px; top: 125px; }
  .system-globe { width: 154px; height: 154px; }
  .system-globe-logo,
  .system-globe-logo img { width: 78px; height: 78px; }
  .system-globe-logo img { border-radius: 23px; }
  .system-live { bottom: 11px; max-width: 125px; font-size: 8px; }
}

@media (max-width: 390px) {
  .hero { padding-top: 76px; }
  .hero-copy h1 { font-size: 37px; }
  .hero-copy > p { font-size: 13px; }
  .hero-visual,
  .hero-stack { min-height: 370px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-button,
  .module-card,
  .button { transition: none; }
  .ecosystem-aura,
  .system-orbit-ring,
  .system-signal,
  .system-node,
  .system-globe::before,
  .system-globe-grid,
  .system-globe-logo { animation: none !important; }
}

/* Connected workflows */
.connected-section {
  position: relative;
  overflow: hidden;
}

.connected-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -240px;
  top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83, 105, 255, .12), transparent 68%);
  pointer-events: none;
}

.connected-head {
  align-items: center;
  margin-bottom: 38px;
}

.connected-head .section-heading {
  margin-bottom: 0;
}

.connection-status {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 315px;
  padding: 13px 17px 13px 13px;
  border: 1px solid rgba(93, 111, 191, .18);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 45px rgba(42, 60, 123, .12);
  backdrop-filter: blur(18px);
}

.connection-status > span:last-child {
  display: grid;
  gap: 3px;
}

.connection-status strong {
  color: #102047;
  font-size: 14px;
  line-height: 1.25;
}

.connection-status small {
  color: #72809e;
  font-size: 11px;
}

.connection-status-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #5c6cff, #6947d8);
  box-shadow: 0 10px 25px rgba(91, 83, 226, .3);
}

.connection-status-orbit b {
  position: relative;
  z-index: 1;
  font-size: 18px;
}

.connection-status-orbit i {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  animation: connectionOrbit 3.2s linear infinite;
}

.connection-status-orbit i::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 1px;
  left: 7px;
  border-radius: 50%;
  background: #68f4c2;
  box-shadow: 0 0 10px #68f4c2;
}

.flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.flow-card {
  position: relative;
  min-height: 290px;
  padding: 22px 24px 24px;
  overflow: hidden;
  border: 1px solid rgba(79, 99, 179, .14);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(247, 249, 255, .94));
  box-shadow: 0 22px 55px rgba(30, 48, 110, .1);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.flow-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--flow-accent) 18%, transparent), transparent 70%);
  pointer-events: none;
}

.flow-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--flow-accent), transparent);
  opacity: .75;
}

.flow-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--flow-accent) 32%, transparent);
  box-shadow: 0 28px 65px rgba(30, 48, 110, .15);
}

.flow-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 21px;
}

.flow-index {
  color: color-mix(in srgb, var(--flow-accent) 78%, #1a2851);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.flow-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #53617e;
  background: rgba(235, 239, 251, .75);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
}

.flow-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--flow-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--flow-accent) 14%, transparent);
  animation: flowPulse 2s ease-in-out infinite;
}

.flow-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 23px;
}

.flow-module {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 64px;
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid color-mix(in srgb, var(--flow-accent) 24%, #fff);
  border-radius: 19px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 25px color-mix(in srgb, var(--flow-accent) 13%, transparent);
}

.flow-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 15px;
}

.flow-module strong {
  max-width: 85px;
  color: #485674;
  font-size: 11px;
  line-height: 1.15;
  text-align: center;
}

.flow-connector {
  position: relative;
  flex: 1 1 52px;
  height: 2px;
  margin: 0 5px 20px;
  overflow: hidden;
  background: linear-gradient(90deg, color-mix(in srgb, var(--flow-accent) 25%, transparent), color-mix(in srgb, var(--flow-accent) 70%, transparent));
}

.flow-connector::after {
  content: "";
  position: absolute;
  width: 30%;
  height: 100%;
  left: -32%;
  background: linear-gradient(90deg, transparent, #fff, var(--flow-accent));
  animation: flowTravel 2.8s ease-in-out infinite;
}

.flow-connector i {
  position: absolute;
  right: 0;
  top: -3px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--flow-accent);
  border-right: 2px solid var(--flow-accent);
  transform: rotate(45deg);
}

.flow-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: #122249;
  font-size: 20px;
  line-height: 1.2;
}

.flow-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #6f7e9c;
  font-size: 14px;
  line-height: 1.55;
}

@keyframes connectionOrbit {
  to { transform: rotate(360deg); }
}

@keyframes flowPulse {
  50% { opacity: .45; transform: scale(.8); }
}

@keyframes flowTravel {
  65%, 100% { left: 105%; }
}

@media (max-width: 760px) {
  .connected-head { align-items: stretch; margin-bottom: 25px; }
  .connection-status { min-width: 0; width: 100%; }
  .flow-grid { grid-template-columns: 1fr; gap: 14px; }
  .flow-card { min-height: 270px; padding: 19px 18px 21px; border-radius: 23px; }
  .flow-track { margin-bottom: 20px; }
  .flow-icon { width: 50px; height: 50px; border-radius: 16px; }
  .flow-icon img { width: 42px; height: 42px; border-radius: 13px; }
  .flow-module { min-width: 54px; }
  .flow-module strong { max-width: 70px; font-size: 9px; }
  .flow-connector { flex-basis: 28px; margin-inline: 3px; }
  .flow-card h3 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .connection-status-orbit i,
  .flow-state i,
  .flow-connector::after { animation: none !important; }
  .flow-card { transition: none; }
}

/* Security control center */
.security-showcase {
  align-items: stretch;
}

.security-visual {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  min-height: 455px;
  padding: 24px;
  place-items: initial;
  overflow: hidden;
  border: 1px solid rgba(72, 96, 174, .16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(98, 96, 255, .14), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(242, 246, 255, .95));
  box-shadow: 0 26px 65px rgba(33, 52, 116, .13);
}

.security-visual::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -130px;
  bottom: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 188, 193, .16), transparent 68%);
  pointer-events: none;
}

.security-core {
  position: relative;
  z-index: 2;
  order: 1;
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 17px;
  width: 100%;
  height: auto;
  min-height: 116px;
  padding: 20px;
  border: 1px solid rgba(98, 111, 211, .22);
  border-radius: 24px;
  text-align: left;
  background: linear-gradient(135deg, #172c65, #334fa0 68%, #405dba);
  box-shadow: 0 18px 38px rgba(38, 61, 139, .23), inset 0 1px rgba(255, 255, 255, .18);
}

.security-core::after {
  content: "GÜVENLİ";
  position: absolute;
  top: 15px;
  right: 16px;
  padding: 5px 8px;
  border: 1px solid rgba(136, 247, 216, .26);
  border-radius: 999px;
  color: #8bf3d6;
  background: rgba(7, 25, 61, .28);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .13em;
}

html[lang="en"] .security-core::after { content: "SECURE"; }
html[lang="de"] .security-core::after { content: "GESCHÜTZT"; }

.shield-mark {
  position: relative;
  grid-row: 1 / 3;
  width: 66px;
  height: 74px;
  color: #0a2349;
  background: linear-gradient(150deg, #72f4d0, #41bde4 60%, #7187ff);
  box-shadow: 0 0 0 8px rgba(107, 224, 218, .08), 0 15px 28px rgba(1, 11, 43, .24);
  animation: shieldBreathe 3.4s ease-in-out infinite;
}

.security-core strong {
  align-self: end;
  margin: 0;
  padding-right: 75px;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
}

.security-core p {
  align-self: start;
  max-width: 430px;
  margin: 6px 0 0;
  color: rgba(230, 237, 255, .76);
  font-size: 12px;
  line-height: 1.5;
}

.security-orbit {
  position: relative;
  z-index: 2;
  order: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  animation: none;
}

.security-orbit::before {
  content: "";
  position: absolute;
  inset: 50% 25% auto;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(93, 111, 217, .25), transparent);
}

.security-orbit > span {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px 10px 38px;
  border: 1px solid rgba(75, 98, 175, .13);
  border-radius: 15px;
  color: #263b71;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(39, 58, 119, .07);
  font-size: 11px;
  font-weight: 850;
  transform: none;
  transform-origin: initial;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.security-orbit > span::before {
  content: "";
  position: absolute;
  left: 15px;
  width: 10px;
  height: 10px;
  border: 2px solid #6076e8;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 4px rgba(96, 118, 232, .1);
}

.security-orbit > span:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 111, 226, .3);
  box-shadow: 0 14px 29px rgba(39, 58, 119, .11);
}

.security-metrics {
  position: relative;
  inset: auto;
  z-index: 2;
  order: 3;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.security-metrics div {
  position: relative;
  min-height: 92px;
  padding: 15px 9px 12px;
  overflow: hidden;
  border: 1px solid rgba(72, 96, 174, .14);
  border-radius: 17px;
  background: rgba(255, 255, 255, .8);
  text-align: left;
}

.security-metrics div::before {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin-bottom: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #586ee6, #38c5c9);
  box-shadow: 0 0 12px rgba(66, 157, 220, .35);
}

.security-metrics strong {
  color: #2f58c8;
  font-size: 17px;
}

.security-metrics span {
  margin-top: 5px;
  color: #7885a0;
  font-size: 9px;
  line-height: 1.3;
}

@keyframes shieldBreathe {
  50% { transform: translateY(-3px); filter: brightness(1.08); }
}

@media (max-width: 760px) {
  .security-visual { min-height: 0; padding: 16px; border-radius: 24px; }
  .security-core { grid-template-columns: 55px 1fr; min-height: 104px; padding: 16px; border-radius: 20px; }
  .shield-mark { width: 51px; height: 58px; font-size: 22px; }
  .security-core strong { padding-right: 0; font-size: 18px; }
  .security-core p { font-size: 10px; }
  .security-core::after { display: none; }
  .security-orbit { gap: 7px; }
  .security-orbit > span { min-height: 43px; padding: 8px 8px 8px 31px; font-size: 9px; }
  .security-orbit > span::before { left: 11px; width: 8px; height: 8px; }
  .security-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-metrics div { min-height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .shield-mark { animation: none !important; }
  .security-orbit > span { transition: none; }
}

/* Getting-started numbering */
.step-card:nth-child(1) { --step-a: #3d76f6; --step-b: #23b9d6; --step-glow: rgba(45, 133, 236, .32); }
.step-card:nth-child(2) { --step-a: #7557ec; --step-b: #aa5ee7; --step-glow: rgba(120, 81, 231, .3); }
.step-card:nth-child(3) { --step-a: #0c9fab; --step-b: #27c994; --step-glow: rgba(23, 177, 161, .29); }
.step-card:nth-child(4) { --step-a: #f08c32; --step-b: #ee527d; --step-glow: rgba(235, 102, 83, .27); }

.step-card {
  border-color: color-mix(in srgb, var(--step-a) 15%, transparent);
}

.step-visual {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--step-b) 42%, transparent);
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, .28), transparent 28%),
    linear-gradient(145deg, var(--step-a), var(--step-b));
  box-shadow: 0 18px 36px var(--step-glow), inset 0 1px rgba(255, 255, 255, .35);
  transition: transform .35s ease, box-shadow .35s ease;
}

.step-card:hover .step-visual {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 24px 44px var(--step-glow), inset 0 1px rgba(255, 255, 255, .38);
}

.step-visual::before {
  content: "ADIM";
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 17px;
  color: rgba(255, 255, 255, .74);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .2em;
}

html[lang="en"] .step-visual::before { content: "STEP"; }
html[lang="de"] .step-visual::before { content: "SCHRITT"; }

.step-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 115px;
  height: 115px;
  right: -43px;
  top: -46px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .06);
}

.step-visual span {
  position: relative;
  z-index: 2;
  margin-top: -3px;
  color: #fff;
  font-size: 44px;
  font-weight: 950;
  letter-spacing: -.06em;
  text-shadow: 0 7px 18px rgba(13, 27, 77, .28);
}

.step-visual i {
  z-index: 2;
  left: 18px;
  right: 18px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .23);
}

.step-visual i:nth-child(2) {
  right: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, .78);
}

.step-visual i:nth-child(3) {
  right: 48px;
  bottom: 28px;
  background: rgba(255, 255, 255, .46);
}

.step-visual i:nth-child(4) {
  right: 75px;
  bottom: 38px;
  background: rgba(255, 255, 255, .28);
}

.step-number {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--step-a) 20%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--step-a) 82%, #172541);
  background: color-mix(in srgb, var(--step-a) 8%, #fff);
  font-size: 10px;
  letter-spacing: .11em;
}

.step-number::before { content: "ADIM"; }
html[lang="en"] .step-number::before { content: "STEP"; }
html[lang="de"] .step-number::before { content: "SCHRITT"; }

.step-card b {
  color: color-mix(in srgb, var(--step-a) 85%, #172541);
}

@media (max-width: 740px) {
  .step-visual::before { top: 12px; left: 12px; font-size: 7px; }
  .step-visual span { font-size: 34px; }
  .step-visual i { left: 12px; }
  .step-visual i:nth-child(2) { right: 12px; bottom: 14px; }
  .step-visual i:nth-child(3) { right: 34px; bottom: 23px; }
  .step-visual i:nth-child(4) { right: 55px; bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .step-visual { transition: none; }
}

/* Private calendar live preview */
.private-panel {
  align-items: center;
}

.private-note {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border: 1px solid rgba(169, 74, 147, .14);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(100, 55, 123, .07);
}

.private-note b {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 118px;
  margin: 0;
  white-space: nowrap;
}

.private-lock,
.private-screen-lock {
  position: relative;
  display: inline-block !important;
  flex: 0 0 auto;
  width: 28px;
  height: 25px;
  border-radius: 8px;
  color: transparent;
  font-size: 0 !important;
  background: linear-gradient(145deg, #b74796, #6d55d8);
  box-shadow: 0 7px 16px rgba(128, 69, 164, .22);
}

.private-lock::before,
.private-screen-lock::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 11px;
  left: 6px;
  top: -8px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  color: #8c55bd;
}

.private-lock::after,
.private-screen-lock::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 7px;
  left: 12px;
  top: 9px;
  border-radius: 4px;
  background: #fff;
}

.private-device {
  position: relative;
  min-height: 465px;
  isolation: isolate;
}

.private-device::before,
.private-device::after {
  position: absolute;
  z-index: 4;
  padding: 9px 12px 9px 30px;
  border: 1px solid rgba(137, 83, 177, .16);
  border-radius: 14px;
  color: #69417f;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 32px rgba(74, 50, 109, .12);
  backdrop-filter: blur(14px);
  font-size: 10px;
  font-weight: 850;
  animation: privateBadgeFloat 4s ease-in-out infinite;
}

.private-device::before {
  content: "Aileden ayrı erişim";
  top: 54px;
  right: 4px;
}

.private-device::after {
  content: "Kalıcı silme kontrolü";
  left: 3px;
  bottom: 61px;
  animation-delay: -2s;
}

html[lang="en"] .private-device::before { content: "Separate family access"; }
html[lang="en"] .private-device::after { content: "Permanent deletion control"; }
html[lang="de"] .private-device::before { content: "Getrennter Familienzugriff"; }
html[lang="de"] .private-device::after { content: "Kontrolle über Löschung"; }

.privacy-halo {
  width: 390px;
  height: 390px;
  background: radial-gradient(circle, rgba(184, 92, 221, .22), rgba(107, 104, 233, .12) 42%, transparent 70%);
  filter: blur(8px);
  animation: privateHalo 4.5s ease-in-out infinite;
}

.private-screen {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-rows: auto auto repeat(3, 58px);
  column-gap: 15px;
  width: 330px;
  min-height: 405px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 5%, rgba(187, 96, 230, .34), transparent 31%),
    linear-gradient(155deg, #27164b, #172552 64%, #10203e);
  box-shadow: 0 35px 70px rgba(46, 31, 88, .28), inset 0 1px rgba(255, 255, 255, .15);
  transform: rotate(1.5deg);
  transition: transform .4s ease, box-shadow .4s ease;
}

.private-screen:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 42px 82px rgba(46, 31, 88, .34), inset 0 1px rgba(255, 255, 255, .17);
}

.private-screen::before {
  content: "KİŞİSEL ALAN • AKTİF";
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 8px;
  border: 1px solid rgba(109, 242, 205, .18);
  border-radius: 999px;
  color: #84efd2;
  background: rgba(18, 44, 70, .45);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .12em;
}

html[lang="en"] .private-screen::before { content: "PRIVATE SPACE • ACTIVE"; }
html[lang="de"] .private-screen::before { content: "PRIVATER BEREICH • AKTIV"; }

.private-screen::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -100px;
  bottom: -110px;
  border: 1px solid rgba(182, 112, 231, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(161, 101, 219, .05), 0 0 0 58px rgba(90, 133, 223, .04);
}

.private-screen-lock {
  grid-row: 1 / 3;
  align-self: center;
  display: block !important;
  width: 54px;
  height: 52px;
  margin: 0;
  border-radius: 17px;
  background: linear-gradient(145deg, #d060b9, #725bd8);
  box-shadow: 0 14px 27px rgba(21, 12, 48, .3), 0 0 0 8px rgba(199, 91, 187, .07);
}

.private-screen-lock::before {
  width: 21px;
  height: 18px;
  left: 13px;
  top: -12px;
  border-width: 4px;
  color: #c566bc;
}

.private-screen-lock::after {
  width: 5px;
  height: 10px;
  left: 25px;
  top: 20px;
}

.private-screen > strong {
  align-self: end;
  padding: 29px 0 3px;
  color: #fff;
  font-size: 19px;
  line-height: 1.18;
}

.private-screen > strong::after {
  content: "Yalnızca sizin görünümünüz";
  display: block;
  margin-top: 5px;
  color: rgba(219, 211, 240, .62);
  font-size: 9px;
  font-weight: 650;
}

html[lang="en"] .private-screen > strong::after { content: "Your view only"; }
html[lang="de"] .private-screen > strong::after { content: "Nur Ihre Ansicht"; }

.private-screen > i {
  position: relative;
  grid-column: 1 / 3;
  display: flex;
  align-items: center;
  height: 50px;
  margin: 8px 0 0;
  padding: 0 14px 0 47px;
  overflow: hidden;
  border: 1px solid rgba(202, 157, 235, .12);
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(184, 94, 206, .13), rgba(93, 120, 202, .08));
}

.private-screen > i::before {
  content: "";
  position: absolute;
  left: 15px;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(221, 178, 246, .35);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(208, 94, 185, .5), rgba(102, 94, 211, .45));
  box-shadow: 0 6px 12px rgba(7, 11, 39, .2);
}

.private-screen > i::after {
  color: #e8e1f5;
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
}

.private-screen > i:nth-of-type(1)::after { content: "Döngü takvimi ve tahminler"; }
.private-screen > i:nth-of-type(2)::after { content: "Belirti ve ruh hali kayıtları"; }
.private-screen > i:nth-of-type(3)::after { content: "İlaçlar ve kişisel notlar"; }
html[lang="en"] .private-screen > i:nth-of-type(1)::after { content: "Cycle calendar and predictions"; }
html[lang="en"] .private-screen > i:nth-of-type(2)::after { content: "Symptom and mood records"; }
html[lang="en"] .private-screen > i:nth-of-type(3)::after { content: "Medication and personal notes"; }
html[lang="de"] .private-screen > i:nth-of-type(1)::after { content: "Zykluskalender und Prognosen"; }
html[lang="de"] .private-screen > i:nth-of-type(2)::after { content: "Symptom- und Stimmungseinträge"; }
html[lang="de"] .private-screen > i:nth-of-type(3)::after { content: "Medikamente und private Notizen"; }

@keyframes privateBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes privateHalo {
  0%, 100% { transform: scale(.94); opacity: .62; }
  50% { transform: scale(1.06); opacity: .9; }
}

@media (max-width: 740px) {
  .private-note { align-items: flex-start; flex-direction: column; gap: 5px; }
  .private-device { min-height: 410px; }
  .private-device::before { top: 36px; right: -4px; }
  .private-device::after { left: -4px; bottom: 40px; }
  .private-screen { width: 276px; min-height: 360px; padding: 20px; grid-template-columns: 48px 1fr; grid-template-rows: auto auto repeat(3, 52px); }
  .private-screen::before { top: 14px; right: 14px; font-size: 6px; }
  .private-screen-lock { width: 45px; height: 44px; }
  .private-screen-lock::before { width: 17px; height: 15px; left: 11px; top: -10px; }
  .private-screen-lock::after { left: 21px; top: 17px; }
  .private-screen > strong { padding-top: 26px; font-size: 16px; }
  .private-screen > i { height: 45px; margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .private-device::before,
  .private-device::after,
  .privacy-halo { animation: none !important; }
  .private-screen { transition: none; }
}

/* Module page store badges */
.module-hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 190px));
  gap: 10px;
  align-items: stretch;
  justify-content: start;
}

.module-store-link {
  position: relative;
  display: grid;
  grid-template-columns: 39px 1fr 14px;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 9px 11px;
  overflow: hidden;
  border: 1px solid rgba(47, 70, 128, .15);
  border-radius: 18px;
  box-shadow: 0 15px 32px rgba(35, 54, 104, .12);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.module-store-link::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  right: -48px;
  bottom: -55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}

.module-store-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(35, 54, 104, .18);
}

.module-store-link--apple {
  color: #fff;
  border-color: #15223f;
  background: linear-gradient(145deg, #182641, #0d172b);
}

.module-store-link--play {
  color: #152444;
  border-color: rgba(51, 83, 156, .14);
  background: linear-gradient(145deg, #fff, #eef4ff);
}

.module-store-link > span:nth-child(2) {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.module-store-link small {
  color: inherit;
  font-size: 8px;
  line-height: 1.1;
  opacity: .65;
}

.module-store-link strong {
  color: inherit;
  font-size: 14px;
  line-height: 1.15;
  white-space: nowrap;
}

.module-store-link > b {
  position: relative;
  z-index: 1;
  color: inherit;
  font-size: 11px;
  opacity: .55;
}

.module-store-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 900;
}

.module-store-mark--apple {
  color: #101a2e;
  background: linear-gradient(145deg, #fff, #dce5f3);
  box-shadow: inset 0 1px #fff, 0 8px 18px rgba(0, 0, 0, .2);
}

.module-store-mark--play {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(51, 80, 145, .09), 0 8px 18px rgba(44, 69, 127, .12);
}

.module-store-mark--play i {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #43b971;
  filter: drop-shadow(-4px 0 0 #4b82e8) drop-shadow(3px 0 0 #f0b43c);
}

.module-hero-actions > .button--secondary {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 44px;
  margin-top: 2px;
  padding-inline: 16px;
  font-size: 11px;
}

@media (max-width: 740px) {
  .module-hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .module-store-link {
    grid-template-columns: 34px 1fr;
    min-height: 56px;
    padding: 8px;
    border-radius: 16px;
  }
  .module-store-mark { width: 34px; height: 34px; border-radius: 10px; }
  .module-store-link strong { font-size: 12px; }
  .module-store-link > b { display: none; }
  .module-hero-actions > .button--secondary { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .module-store-link { transition: none; }
}

/* Live family hub — logo-free connected center */
.system-globe {
  width: 204px;
  height: 204px;
  overflow: visible;
  border: 1px solid rgba(130, 160, 255, .34);
  border-radius: 55px;
  background:
    radial-gradient(circle at 25% 18%, rgba(74, 205, 237, .34), transparent 30%),
    radial-gradient(circle at 85% 82%, rgba(142, 92, 225, .36), transparent 38%),
    linear-gradient(145deg, #132e69, #20276a 55%, #351d65);
  box-shadow: 0 32px 75px rgba(36, 50, 119, .32), inset 0 1px rgba(255, 255, 255, .2);
}

.system-globe::before {
  inset: -11px;
  border-radius: 64px;
  background: conic-gradient(from 20deg, #4bd5dd, #5f79f4, #b262dc, #5f79f4, #4bd5dd);
  animation: hubRingSpin 8s linear infinite;
}

.system-globe::after {
  inset: 1px;
  border-radius: 54px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .2), transparent 30%, transparent 68%, rgba(107, 218, 232, .08));
}

.system-globe-grid {
  inset: 12px;
  border-radius: 43px;
  opacity: 1;
  background:
    radial-gradient(circle at 50% 7%, #76ecdd 0 3px, transparent 4px),
    radial-gradient(circle at 90% 27%, #6ca7ff 0 3px, transparent 4px),
    radial-gradient(circle at 90% 73%, #b779ef 0 3px, transparent 4px),
    radial-gradient(circle at 50% 93%, #6ca7ff 0 3px, transparent 4px),
    radial-gradient(circle at 10% 73%, #e078c2 0 3px, transparent 4px),
    radial-gradient(circle at 10% 27%, #65d6e1 0 3px, transparent 4px),
    repeating-conic-gradient(from 0deg, rgba(149, 180, 255, .15) 0 1deg, transparent 1deg 60deg),
    radial-gradient(circle, transparent 51%, rgba(139, 167, 244, .2) 52%, transparent 53%);
  animation: hubNetworkSpin 24s linear infinite;
}

.system-globe-logo {
  position: relative;
  z-index: 3;
  display: grid;
  place-content: center;
  width: 114px;
  height: 103px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 31px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055));
  box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 18px 35px rgba(4, 11, 47, .23);
  backdrop-filter: blur(8px);
  animation: hubCoreFloat 4.5s ease-in-out infinite;
}

.system-globe-logo img { display: none; }

.system-globe-logo::before {
  content: "06";
  color: #fff;
  font-size: 42px;
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.07em;
  text-shadow: 0 8px 22px rgba(2, 11, 42, .34);
}

.system-globe-logo::after {
  content: "BAĞLI MODÜL";
  margin-top: 9px;
  color: #8cf0dc;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .16em;
}

html[lang="en"] .system-globe-logo::after { content: "CONNECTED MODULES"; }
html[lang="de"] .system-globe-logo::after { content: "VERNETZTE MODULE"; }

.system-live {
  bottom: 13px;
  color: #edf4ff;
  background: rgba(7, 18, 57, .72);
  border-color: rgba(151, 189, 255, .22);
  box-shadow: 0 8px 20px rgba(2, 10, 39, .23);
}

@keyframes hubRingSpin { to { transform: rotate(360deg); } }
@keyframes hubNetworkSpin { to { transform: rotate(-360deg); } }
@keyframes hubCoreFloat { 50% { transform: translateY(-4px) scale(1.025); } }

/* Refined privacy shield */
.private-lock,
.private-screen-lock {
  overflow: visible;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(208, 96, 185, .18), rgba(100, 91, 218, .16));
  box-shadow: 0 14px 30px rgba(47, 25, 95, .26), inset 0 1px rgba(255, 255, 255, .12);
}

.private-lock::before,
.private-screen-lock::before {
  width: 68%;
  height: 74%;
  left: 16%;
  top: 12%;
  border: 0;
  border-radius: 0;
  color: transparent;
  background: linear-gradient(155deg, #f07bc9, #9469ee 58%, #4cc9d9);
  clip-path: polygon(50% 0, 92% 16%, 84% 72%, 50% 100%, 16% 72%, 8% 16%);
  box-shadow: none;
}

.private-lock::after,
.private-screen-lock::after {
  content: "✓";
  left: 50%;
  top: 50%;
  width: auto;
  height: auto;
  color: #fff;
  background: none;
  border-radius: 0;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  transform: translate(-50%, -50%);
  text-shadow: 0 3px 8px rgba(40, 20, 81, .35);
}

.private-screen-lock {
  border: 1px solid rgba(220, 147, 239, .18);
  background: radial-gradient(circle, rgba(198, 100, 215, .22), rgba(77, 65, 151, .12));
  box-shadow: 0 0 0 9px rgba(202, 103, 210, .06), 0 0 0 18px rgba(114, 102, 218, .04), 0 18px 34px rgba(20, 12, 56, .28);
  animation: privacyShieldFloat 3.8s ease-in-out infinite;
}

.private-screen-lock::after { font-size: 22px; }

@keyframes privacyShieldFloat {
  50% { transform: translateY(-4px); box-shadow: 0 0 0 13px rgba(202, 103, 210, .04), 0 0 0 23px rgba(114, 102, 218, .025), 0 23px 40px rgba(20, 12, 56, .32); }
}

/* Light content system for every module detail page */
.detail-sheet {
  background: linear-gradient(180deg, #f9fbff, #f2f6ff 52%, #fbfcff);
}

.detail-sheet::before {
  background:
    radial-gradient(circle at 88% 7%, rgba(118, 102, 230, .1), transparent 26%),
    radial-gradient(circle at 7% 36%, rgba(64, 183, 218, .08), transparent 28%),
    linear-gradient(rgba(71, 96, 160, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 96, 160, .026) 1px, transparent 1px);
  background-size: auto, auto, 46px 46px, 46px 46px;
  border-top-color: rgba(51, 76, 137, .1);
  pointer-events: none;
}

.detail-sheet-inner { z-index: 1; }

.detail-intro h2,
.detail-block-head h2,
.problem-card p,
.scenario-card h3,
.more-module-grid strong,
.module-bottom-cta h2 { color: #172642; }

.detail-intro p,
.detail-block-head p,
.scenario-card p { color: #667590; }

.problem-card,
.feature-list li,
.usage-list li,
.scenario-card,
.more-module-grid > a {
  border-color: rgba(44, 70, 129, .11);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 15px 38px rgba(38, 59, 108, .07);
}

.problem-card span,
.scenario-card > span { color: #4770d7; }

.feature-list li {
  color: #33435f;
}

.feature-list li span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(145deg, #20b98a, #31c5a1);
  box-shadow: 0 6px 14px rgba(28, 167, 125, .2);
}

.usage-list p { color: #43516c; }

.usage-list li span {
  color: #fff;
  box-shadow: 0 9px 20px rgba(75, 92, 205, .2);
}

.scenario-light {
  opacity: .75;
  background: radial-gradient(circle, rgba(91, 121, 226, .13), transparent 67%);
}

.detail-block {
  border-top-color: rgba(47, 73, 132, .1);
}

.detail-block-head > span {
  color: #fff;
  border-color: rgba(76, 104, 206, .2);
  background: linear-gradient(145deg, #4a75e3, #7058d5);
  box-shadow: 0 10px 24px rgba(75, 89, 193, .18);
}

.module-notice {
  border-color: rgba(210, 150, 34, .2);
  background: rgba(255, 246, 220, .82);
}

.module-notice p { color: #745f37; }

.more-module-grid > a:hover {
  border-color: color-mix(in srgb, var(--accent) 36%, rgba(54, 78, 140, .16));
  box-shadow: 0 20px 42px rgba(38, 59, 108, .11);
}

@media (max-width: 740px) {
  .system-globe { width: 164px; height: 164px; border-radius: 44px; }
  .system-globe::before { border-radius: 52px; }
  .system-globe::after { border-radius: 43px; }
  .system-globe-grid { inset: 9px; border-radius: 36px; }
  .system-globe-logo { width: 92px; height: 82px; border-radius: 25px; }
  .system-globe-logo::before { font-size: 34px; }
  .system-globe-logo::after { font-size: 6px; }
  .private-screen-lock::after { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .system-globe::before,
  .system-globe-grid,
  .system-globe-logo,
  .private-screen-lock { animation: none !important; }
}
