@font-face { font-family: 'Baloo 2'; src: url('../fonts/Baloo2.ttf') format('truetype'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Baloo Bhai 2'; src: url('../fonts/BalooBhai2.ttf') format('truetype'); font-weight: 400 800; font-display: swap; unicode-range: U+0A80-0AFF; }

:root {
  --purple: #6c4bc6; --purple-dark: #3f2a80; --ink: #2e2352; --soft: #594e7e;
  --mist: #f3eeff; --sun: #ffde7a; --pink: #f7a8c9; --pink-deep: #b8316c;
  --sky: #9dd8f7; --mint: #a6e8c5; --orange: #ffb36b; --white: #fff;
  --shadow: 0 14px 34px rgba(63, 42, 128, .14);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Baloo 2', 'Baloo Bhai 2', system-ui, sans-serif; font-size: 1.125rem; line-height: 1.55; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--purple); }
a:focus-visible, button:focus-visible, summary:focus-visible, .gallery:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; font-weight: 800; }
section[id] { scroll-margin-top: 76px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); padding: 8px 16px; border-radius: 12px; z-index: 30; }
.skip:focus { left: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); box-shadow: 0 2px 14px rgba(63, 42, 128, .08); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--purple-dark); font-size: 1.5rem; font-weight: 800; }
.brand img { border-radius: 12px; }
.brand b { color: var(--pink-deep); }
nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 12px; border-radius: 999px; }
nav a:hover { background: var(--mist); }
#nav { display: flex; gap: 2px; }
.menu { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--mist); padding: 12px; cursor: pointer; }
.menu i { display: block; height: 3px; margin: 4px 0; background: var(--purple-dark); border-radius: 3px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: 1.15rem; text-decoration: none; text-align: center; }
.btn-sun { background: var(--sun); color: var(--purple-dark); box-shadow: 0 6px 0 #d9a92b; }
a.btn-sun:hover { transform: translateY(2px); box-shadow: 0 4px 0 #d9a92b; }
.btn-soon { cursor: default; }
.btn-ghost { color: var(--white); border: 3px solid rgba(255, 255, 255, .7); padding: 11px 26px; }

/* Hero */
.hero { position: relative; color: var(--white); background: radial-gradient(circle at 78% 40%, rgba(255,255,255,.32), transparent 42%), linear-gradient(135deg, #7a55d8, #47299a); padding: 56px 0 110px; }
.hero::before { content: '★'; position: absolute; left: 5%; top: 36px; color: var(--sun); font-size: 2rem; }
.hero::after { content: '★'; position: absolute; right: 6%; top: 24px; color: var(--sun); font-size: 1.4rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: rgba(36, 15, 92, .35); padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: 1rem; margin: 0 0 18px; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h1 em { font-style: normal; color: var(--sun); }
.lead { font-size: 1.28rem; max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 22px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-weight: 700; }
.ticks li::before { content: '✔'; color: var(--mint); margin-right: 8px; }
.hero-art { position: relative; display: flex; justify-content: center; min-height: 560px; }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; fill: var(--white); }

/* Phone mock-up */
.phone { margin: 0 auto; width: min(270px, 100%); background: #22163f; border-radius: 42px; padding: 10px; box-shadow: 0 24px 50px rgba(24, 10, 69, .35), inset 0 0 0 2px #6d5aa6; }
.phone-screen { border-radius: 33px; overflow: hidden; background: #e8dfff; }
.phone-bar { display: flex; justify-content: space-between; align-items: center; position: relative; height: 24px; padding: 0 20px; font: 700 .72rem system-ui, sans-serif; color: var(--ink); }
.phone-bar::after { content: ''; position: absolute; left: 50%; top: 6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #180f30; }
.phone-bar i { width: 20px; height: 9px; border-radius: 3px; background: var(--ink); }
.phone-screen img { width: 100%; height: auto; }
.phone-main { position: absolute; z-index: 2; left: 4%; width: 262px; transform: rotate(-4deg); }
.phone-side { position: absolute; right: 2%; top: 52px; width: 226px; transform: rotate(7deg); }
.float { position: absolute; z-index: 3; display: grid; place-items: center; width: 68px; height: 68px; background: var(--white); border-radius: 22px; font-size: 2rem; box-shadow: var(--shadow); animation: bob 4s ease-in-out infinite; }
.f1 { left: -2%; top: 90px; } .f2 { right: 4%; top: 0; animation-delay: -1.3s; } .f3 { left: 46%; bottom: 4px; animation-delay: -2.4s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(5deg); } }

/* Sections */
.stats { margin-top: -26px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--white); border-radius: 28px; box-shadow: var(--shadow); padding: 20px; text-align: center; }
.stats b { display: block; font-variant-numeric: tabular-nums; font-size: 2.3rem; color: var(--purple); line-height: 1.1; }
.stats span { color: var(--soft); font-weight: 700; }
.section { padding: 76px 0; }
.title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); text-align: center; color: var(--purple-dark); }
.title.left { text-align: left; }
.sub { text-align: center; color: var(--soft); max-width: 40em; margin: 0 auto 38px; }
.cards, .contact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact { grid-template-columns: 1.35fr 1fr; max-width: 960px; margin: 0 auto; }
.card { border-radius: 28px; padding: 24px; text-decoration: none; color: var(--ink); transition: transform .2s; }
.card:hover { transform: translateY(-5px); }
.card h3 { font-size: 1.3rem; }
.card p { margin: 0; overflow-wrap: anywhere; }
.icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.8); font-size: 2rem; margin-bottom: 14px; }
.lilac { background: #e4dafc; } .peach { background: #ffe3c9; } .mint { background: #d5f5e4; } .sun { background: #fff0bd; } .sky { background: #d3eefc; } .pink { background: #fcdbe9; }
.split { background: linear-gradient(180deg, var(--mist), var(--white)); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.lang { border-radius: 24px; padding: 16px 8px; text-align: center; }
.lang b { display: block; font-size: 2.8rem; color: var(--purple-dark); line-height: 1.25; }
.lang span { font-weight: 700; font-size: .98rem; }
.purple { background: linear-gradient(135deg, #7a55d8, #47299a); color: var(--white); }
.purple .title { color: var(--white); } .purple .sub { color: #efe8ff; }
.gallery-box { position: relative; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 24px; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
.js .gallery { cursor: grab; }
.js .gallery.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.gallery img { -webkit-user-drag: none; }
.shot { scroll-snap-align: start; text-align: center; font-weight: 800; }
.shot .phone { width: min(240px, 100%); box-shadow: 0 14px 26px rgba(24, 10, 69, .35); }
.arrow { position: absolute; top: 40%; z-index: 3; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--sun); color: var(--purple-dark); padding: 0; cursor: pointer; box-shadow: var(--shadow); display: none; place-items: center; }
.arrow svg { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.js .arrow { display: grid; }
.prev { left: -14px; } .next { right: -14px; }
.list { list-style: none; padding: 0; }
.list li { padding: 10px 0 10px 40px; position: relative; }
.list li::before { content: '✔'; position: absolute; left: 0; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-size: .9rem; }
.steps { padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 12px 16px 12px 62px; background: var(--mist); border-radius: 18px; margin-bottom: 10px; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: var(--white); display: grid; place-items: center; font-weight: 800; }
.note { background: #fff0bd; border-radius: 18px; padding: 14px 18px; font-size: 1rem; }
.soft { background: var(--mist); }
details { background: var(--mist); border-radius: 20px; margin-bottom: 12px; padding: 0 22px; }
summary { cursor: pointer; padding: 16px 34px 16px 0; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary h3 { display: inline; font-size: 1.2rem; }
summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-size: 1.9rem; color: var(--purple); }
details[open] summary::after { content: '−'; }
details p { margin-top: 0; }
.cta { background: linear-gradient(135deg, #fff0bd, #fcdbe9); }
.cta-in { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--purple-dark); }
.cta .btn { background: var(--purple); color: var(--white); box-shadow: 0 6px 0 var(--purple-dark); }
.contact-card { display: flex; align-items: center; gap: 18px; padding: 24px; background: var(--white); border: 2px solid #e4dafc; border-radius: 28px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
a.contact-card { transition: transform .2s, border-color .2s; }
a.contact-card:hover { transform: translateY(-5px); border-color: var(--purple); }
.badge { display: grid; place-items: center; flex: none; width: 70px; height: 70px; border-radius: 22px; color: var(--white); }
.mail .badge { background: linear-gradient(135deg, #8e6bea, #4a2f9c); box-shadow: 0 8px 18px rgba(74, 47, 156, .32); }
.office .badge { background: linear-gradient(135deg, #f0739f, #b8316c); box-shadow: 0 8px 18px rgba(184, 49, 108, .3); }
.contact-card svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.info { display: block; flex: 1; min-width: 0; }
.info strong { display: block; font-size: 1.35rem; line-height: 1.3; }
.info span { display: block; color: var(--soft); overflow-wrap: anywhere; }
.go { color: var(--purple); }
.mail .info span { font-size: 1.05rem; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; max-width: 560px; } }

/* Legal pages */
.legal-head { background: linear-gradient(135deg, #7a55d8, #47299a); color: var(--white); padding: 46px 0; }
.legal-head h1 { margin-bottom: .2em; } .legal-head p { margin: 4px 0; }
.legal-head a:not(.btn) { color: var(--sun); }
.legal { padding: 36px 0 64px; }
.legal h2 { color: var(--purple-dark); font-size: 1.55rem; margin-top: 34px; }
.legal h3 { font-size: 1.22rem; margin-top: 22px; }
.legal a { overflow-wrap: anywhere; }
.summary, .toc { background: var(--mist); border-radius: 22px; padding: 4px 24px 12px; margin: 20px 0; }
.summary h2, .toc h2 { margin-top: 18px; font-size: 1.25rem; }
.toc ol { columns: 2; }
#refunds { background: #fff7da; border-radius: 22px; padding: 4px 22px 12px; margin-top: 30px; }

/* Footer */
.foot { background: #2a1a5e; color: #e9e1ff; padding: 52px 0 24px; font-size: 1.02rem; }
.foot a { color: #e9e1ff; text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { color: var(--sun); }
.about { max-width: 24em; line-height: 1.7; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: 30px; }
.foot h2 { font-size: 1.2rem; color: var(--sun); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 3px 0; }
.brand-light { color: var(--white); } .foot .brand-light b { color: var(--pink); }
.foot-end { border-top: 1px solid rgba(255,255,255,.18); margin-top: 30px; padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot-end p { margin: 0; }
.powered a { color: var(--sun); font-weight: 800; }

.top-end { display: flex; align-items: center; gap: 12px; }
.lang-menu { position: relative; margin: 0; padding: 0; background: none; border-radius: 0; }
.lang-menu summary { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--mist); color: var(--purple-dark); font-weight: 800; font-size: 1rem; white-space: nowrap; }
.lang-menu summary::after, .lang-menu[open] summary::after { content: none; }
.lang-menu svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lang-menu .down { stroke-width: 3; transition: transform .2s; }
.lang-menu[open] .down { transform: rotate(180deg); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 25; min-width: 180px; margin: 0; padding: 8px; list-style: none; background: var(--white); border-radius: 20px; box-shadow: 0 14px 40px rgba(36, 15, 92, .24); }
.lang-menu li a { display: flex; justify-content: space-between; gap: 14px; padding: 9px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; }
.lang-menu li a:hover { background: var(--mist); }
.lang-menu li a[aria-current] { background: var(--purple); color: var(--white); }
.lang-menu li a[aria-current]::after { content: '✓'; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards figure { margin: 0; }
.cards blockquote { margin: 0 0 12px; }
.tour { width: min(270px, 100%); margin: 0 auto; }
.slides { position: relative; aspect-ratio: 540 / 1169; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.slides img.on { opacity: 1; }
.tour-bar { display: grid; justify-items: center; gap: 10px; margin-top: 18px; }
.tour-bar .caption { font-size: 1.25rem; color: var(--purple-dark); }
.progress { width: 100%; height: 8px; background: var(--mist); border-radius: 8px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--purple); }
.tour-button { font: 800 1rem 'Baloo 2', 'Baloo Bhai 2', sans-serif; border: 0; border-radius: 999px; padding: 8px 26px; background: var(--sun); color: var(--purple-dark); cursor: pointer; }
.demo { display: block; width: min(360px, 100%); margin: 0 auto; border-radius: 28px; box-shadow: var(--shadow); }

/* Page not found */
.lost { position: relative; overflow: hidden; text-align: center; color: var(--white); padding: 56px 0 72px; min-height: 70vh; background: radial-gradient(circle at 50% 22%, rgba(255,255,255,.34), transparent 44%), linear-gradient(135deg, #7a55d8, #47299a); }
.lost::before, .lost::after { content: '★'; position: absolute; color: var(--sun); animation: bob 4s ease-in-out infinite; }
.lost::before { left: 9%; top: 18%; font-size: 2.6rem; }
.lost::after { right: 10%; top: 34%; font-size: 1.7rem; animation-delay: -2s; }
.big404 { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 0 10px; }
.big404 span { font-size: clamp(5rem, 17vw, 10rem); font-weight: 800; line-height: 1; color: var(--sun); text-shadow: 0 8px 0 rgba(36, 15, 92, .35); }
.big404 img { width: clamp(110px, 24vw, 200px); height: auto; animation: bob 4s ease-in-out infinite; }
.lost .lead { margin: 0 auto 14px; }
.lost p { margin-block: 4px; }
.lost p a { color: var(--sun); font-weight: 800; }
.lost .actions { justify-content: center; margin-bottom: 0; }

/* Tablets */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; } .actions, .ticks { justify-content: center; }
  .hero-art { width: min(480px, 100%); margin: 10px auto 0; }
  .cards, .cards.three { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-auto-columns: calc((100% - 48px) / 3); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .menu { display: none; }
  .js .menu { display: block; }
  .js #nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; background: var(--white); padding: 10px 20px 18px; box-shadow: var(--shadow); }
  .js #nav.open { display: flex; }
  html:not(.js) .top-in { flex-wrap: wrap; } html:not(.js) #nav { flex-wrap: wrap; }
  #nav a { padding: 11px 14px; }
}
/* Phones */
@media (max-width: 720px) {
  body { font-size: 1.05rem; }
  .section { padding: 54px 0; }
  .split-grid, .contact { grid-template-columns: 1fr; }
  .split .split-grid > div:first-child { order: 2; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-auto-columns: 68%; }
  .arrow { top: 42%; } .prev { left: -8px; } .next { right: -8px; }
  .toc ol { columns: 1; }
}
@media (max-width: 520px) {
  .hero { padding-top: 34px; }
  .hero-art { min-height: 440px; }
  .phone-main { width: 200px; left: 3%; } .phone-side { width: 172px; right: 1%; }
  .float { width: 52px; height: 52px; font-size: 1.5rem; border-radius: 16px; }
  .cards, .cards.three, .contact, .foot-grid { grid-template-columns: 1fr; }
  .brand span { font-size: 1.2rem; }
  .top-end { gap: 6px; }
  /* Only the globe and its arrow; the list still shows the full names. */
  .lang-menu summary { padding: 0 11px; gap: 3px; }
  .lang-menu summary span { display: none; }
  .langs { gap: 8px; } .lang b { font-size: 2.2rem; } .lang span { font-size: .85rem; }
  .btn { width: 100%; }
  .contact-card { padding: 18px; gap: 14px; }
  .badge { width: 54px; height: 54px; border-radius: 18px; } .badge svg { width: 28px; height: 28px; }
  .info { font-size: .95rem; }
  .mail .info span { font-size: .92rem; }
  .go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .float, .big404 img, .lost::before, .lost::after { animation: none; } .card, .slides img { transition: none; }
}
