/*
Theme Name: RentalAuto Portal
Description: Sales site for RentalAuto – software for car rental companies.
Version: 3.0.0
Text Domain: rentalauto-portal
*/

:root {
	--ink: #0f1d33;
	--muted: #5a6b85;
	--blue: #2459e8;
	--blue-dark: #1a44bb;
	--orange: #ff7a1a;
	--orange-dark: #ec6406;
	--sky: #eaf1ff;
	--peach: #fff2e8;
	--mint: #e7f7ef;
	--lilac: #f1edff;
	--line: #e3e8f0;
	--white: #fff;
	--font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
	--wrap: 1200px;
	--radius: 16px;
	--shadow: 0 24px 60px -24px rgba(15, 29, 51, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ra { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(38px, 5.4vw, 66px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.ra-wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.ra-center { text-align: center; margin-inline: auto; }
.ra-sub { color: var(--muted); font-size: 19px; margin-top: 14px; max-width: 40em; }
.ra-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 20; }
.ra-skip:focus { left: 8px; }

/* buttons */
.ra-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--orange); background: var(--orange); color: #fff; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.ra-btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.ra-btn--big { min-height: 56px; padding: 0 30px; font-size: 17px; }
.ra-btn--small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.ra-btn--white { background: #fff; border-color: #fff; color: var(--ink); }
.ra-btn--white:hover { background: var(--sky); border-color: var(--sky); }
.ra-btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.ra-btn--outline:hover { background: var(--sky); border-color: var(--sky); }
.ra-btn--full { width: 100%; }

/* header */
.ra-top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.ra-top__in { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.ra-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.ra-logo__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; }
.ra-logo__mark svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.ra-logo__word { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.ra-logo__word b { color: var(--blue); font-weight: 800; }
.ra-nav { display: flex; gap: 28px; margin-right: auto; }
.ra-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.ra-nav a:hover { color: var(--blue); }
.ra-top__right { display: flex; align-items: center; gap: 14px; }
.ra-langs { display: flex; gap: 2px; list-style: none; margin: 0; padding: 3px; background: #f2f5fa; border-radius: 999px; }
.ra-langs a { display: block; padding: 5px 10px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; border-radius: 999px; }
.ra-langs a[aria-current] { color: var(--ink); background: #fff; box-shadow: 0 1px 3px rgba(15,29,51,.15); }

/* hero */
.ra-hero { position: relative; color: #fff; padding: 110px 0 230px; overflow: hidden; isolation: isolate; }
.ra-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; z-index: -2; }
.ra-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,25,60,.88) 0%, rgba(14,40,105,.72) 42%, rgba(20,60,160,.12) 78%); }
.ra-hero h1 { max-width: 14ch; }
.ra-lead { font-size: 20px; margin-top: 22px; max-width: 32em; color: rgba(255,255,255,.9); }
.ra-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ra-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 30px 0 0; }
.ra-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); }
.ra-chips li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #34c97a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

/* browser window with a live snapshot */
.ra-window { background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(15,29,51,.08); }
.ra-window__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #f2f5fa; border-bottom: 1px solid var(--line); }
.ra-window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; }
.ra-window__bar i:nth-child(2) { background: #ffbd2e; }
.ra-window__bar i:nth-child(3) { background: #28c941; }
.ra-window__bar span { margin-left: 14px; flex: 1; max-width: 340px; height: 22px; border-radius: 6px; background: #fff; color: var(--muted); font-size: 12px; line-height: 22px; padding: 0 10px; overflow: hidden; white-space: nowrap; }
.ra-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f6f8fb; }
.ra-shot iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; pointer-events: none; }
.ra-showcase { position: relative; margin-top: -170px; z-index: 2; max-width: 1080px; }

/* zig-zag rows */
.ra-rows { padding: 110px 0 30px; }
.ra-row { padding: 80px 0; }
.ra-row--1 { background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); }
.ra-row--2 { background: var(--peach); }
.ra-row--3 { background: var(--mint); }
.ra-row__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.ra-row--2 .ra-row__text { order: 2; }
.ra-row__text p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.ra-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.ra-ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ra-ticks li { position: relative; padding-left: 34px; font-weight: 600; }
.ra-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.ra-row--2 .ra-ticks li::before { background-color: var(--orange); }
.ra-row--3 .ra-ticks li::before { background-color: #1fa463; }
.ra-ticks--big li { font-size: 18px; padding-block: 4px; }

/* sections */
.ra-section { padding: 100px 0; }

/* feature grid */
.ra-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.ra-feat { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.ra-feat h3 { margin-top: 18px; }
.ra-feat p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.ra-feat__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; }
.ra-feat__icon svg { width: 26px; height: 26px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ra-feat--1 .ra-feat__icon { background: var(--sky); } .ra-feat--1 svg { stroke: var(--blue); }
.ra-feat--2 .ra-feat__icon { background: var(--peach); } .ra-feat--2 svg { stroke: var(--orange-dark); }
.ra-feat--3 .ra-feat__icon { background: var(--mint); } .ra-feat--3 svg { stroke: #1a8f56; }
.ra-feat--4 .ra-feat__icon { background: var(--lilac); } .ra-feat--4 svg { stroke: #6a4ce0; }

/* rental steps */
.ra-flow { background: var(--ink); color: #fff; }
.ra-flow .ra-sub { color: rgba(255,255,255,.72); }
.ra-steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.ra-steps li { position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.ra-steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -16px; width: 14px; height: 2px; background: var(--orange); }
.ra-steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); font-weight: 800; font-size: 17px; }
.ra-steps h3 { margin-top: 18px; color: #fff; }
.ra-steps p { margin-top: 8px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.6; }

/* demos */
.ra-demos-wrap { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.ra-demos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.ra-demo { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px -20px rgba(15,29,51,.35); border: 1px solid var(--line); display: flex; flex-direction: column; }
.ra-demo__preview { display: block; padding: 18px 18px 0; background: #f6f8fb; }
.ra-demo__preview .ra-window { border-radius: 10px 10px 0 0; box-shadow: none; border-bottom: 0; }
.ra-demo__preview .ra-window__bar { height: 24px; }
.ra-demo__preview .ra-window__bar i { width: 8px; height: 8px; }
.ra-demo__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.ra-demo h3 { font-size: 22px; margin-top: 10px; }
.ra-demo__body > p { color: var(--muted); margin-top: 6px; font-size: 15.5px; flex: 1; }
.ra-demo__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ra-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.ra-tag--1 { background: #fbf2df; color: #8a6420; }
.ra-tag--2 { background: #fde7e9; color: #b1172a; }
.ra-tag--3 { background: var(--mint); color: #147a48; }

/* photo band */
.ra-band { position: relative; isolation: isolate; color: #fff; padding: 120px 0; text-align: center; overflow: hidden; }
.ra-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ra-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(36,89,232,.92), rgba(15,29,51,.85)); }
.ra-band p { margin: 16px auto 32px; font-size: 19px; max-width: 34em; color: rgba(255,255,255,.88); }

/* balkan */
.ra-balkan { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.ra-balkan h2 { margin-bottom: 10px; }

/* offer */
.ra-offer { background: var(--blue); color: #fff; padding: 100px 0; }
.ra-offer__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.ra-offer__text p { margin-top: 16px; font-size: 19px; color: rgba(255,255,255,.88); }
.ra-offer__photo { margin-top: 36px; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: 0 24px 60px -24px rgba(0,0,0,.5); }
.ra-form { background: #fff; color: var(--ink); border-radius: 20px; padding: 34px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.45); }
.ra-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 24px; }
.ra-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.ra-form input[type=text], .ra-form input[type=email], .ra-form input[type=tel], .ra-form select, .ra-form textarea { font: 500 16px/1.4 var(--font); color: var(--ink); background: #f6f8fb; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 50px; width: 100%; }
.ra-form input:focus, .ra-form select:focus, .ra-form textarea:focus { border-color: var(--blue); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(36,89,232,.15); }
.ra-form__wide { grid-column: 1 / -1; }
.ra-check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; color: var(--muted); }
.ra-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.ra-hp { position: absolute; left: -9999px; }
.ra-msg { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.ra-msg--ok { background: var(--mint); color: #145c37; }
.ra-msg--err { background: #fde8e6; color: #8a2a22; }

/* faq */
.ra-faq-wrap { max-width: 820px; }
.ra-faq { margin-top: 40px; display: grid; gap: 12px; }
.ra-faq details { background: #f6f8fb; border-radius: 14px; padding: 0 22px; border: 1px solid var(--line); }
.ra-faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ra-faq summary::-webkit-details-marker { display: none; }
.ra-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue); }
.ra-faq details[open] summary::after { content: "–"; }
.ra-faq p { padding: 0 0 20px; color: var(--muted); }

/* footer */
.ra-foot { background: var(--ink); color: rgba(255,255,255,.7); padding: 44px 0; font-size: 15px; }
.ra-foot__in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ra-logo--foot { color: #fff; }
.ra-logo--foot .ra-logo__word b { color: #7ea2ff; }
.ra-foot__links { margin-left: auto; display: flex; gap: 20px; }
.ra-foot a { color: rgba(255,255,255,.85); }

/* simple pages */
.ra-page { padding: 80px 0; }
.ra-page h1 { font-size: clamp(32px, 4vw, 46px); }
.ra-page__body { max-width: 44em; margin-top: 24px; }
.ra-page__body p, .ra-page__body ul { margin: 0 0 1em; }
.ra-page__body h2 { font-size: 24px; margin: 1.6em 0 .5em; }

/* responsive */
@media (max-width: 1080px) {
	.ra-grid { grid-template-columns: repeat(2, 1fr); }
	.ra-steps { grid-template-columns: 1fr; }
	.ra-steps li:not(:last-child)::after { display: none; }
	.ra-demos { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 900px) {
	.ra-nav { display: none; }
	.ra-row__in, .ra-balkan, .ra-offer__in { grid-template-columns: 1fr; gap: 36px; }
	.ra-row--2 .ra-row__text { order: 0; }
	.ra-hero { padding: 70px 0 160px; }
	.ra-hero::before { background: linear-gradient(180deg, rgba(10,25,60,.86), rgba(14,40,105,.7)); }
	.ra-showcase { margin-top: -120px; }
}
@media (max-width: 600px) {
	body.ra { font-size: 16px; }
	.ra-top__in { gap: 12px; }
	.ra-top .ra-btn--small { display: none; }
	.ra-top__right { margin-left: auto; }
	.ra-logo__word { font-size: 19px; }
	.ra-section, .ra-offer { padding: 70px 0; }
	.ra-row { padding: 56px 0; }
	.ra-rows { padding-top: 70px; }
	.ra-grid, .ra-form__grid { grid-template-columns: 1fr; }
	.ra-form { padding: 22px; }
	.ra-band { padding: 80px 0; }
	.ra-window__bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* ===================== v3: simple order page ===================== */
.ra-hero--v3 { padding: 120px 0 130px; }
.ra-hero--v3 h1 { max-width: 16ch; }
.ra-playicon { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-right: 2px; }
.ra-actions--center { justify-content: center; }

/* paid banner */
.ra-paid { background: #1fa463; color: #fff; padding: 22px 0; }
.ra-paid__in { display: flex; align-items: center; gap: 16px; }
.ra-paid strong { font-size: 20px; }
.ra-paid p { opacity: .92; }
.ra-paid__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231fa463' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/24px no-repeat; }

/* video */
.ra-videosec { padding: 90px 0 40px; }
.ra-videosec > .ra-wrap { display: flex; flex-direction: column; align-items: center; }
.ra-videosec__text { order: -1; text-align: center; margin-bottom: 40px; }
.ra-videosec__text .ra-sub { margin-inline: auto; }
.ra-player { width: 100%; max-width: 1040px; }
.ra-player__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f6f8fb; }
.ra-scene { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.ra-scene.is-on { opacity: 1; z-index: 1; }
.ra-scene .ra-shot { position: absolute; inset: 0; aspect-ratio: auto; }
.ra-scene__zoom { position: absolute; inset: 0; transform-origin: var(--o, 50% 50%); }
.ra-scene.is-run .ra-scene__zoom { animation: ra-kb 8s ease-in-out forwards; }
.ra-scene.is-run .ra-cursor { animation: ra-cur 8s ease-in-out forwards; }
.ra-scene.is-run .ra-cursor::before { animation: ra-ring 8s ease-out forwards; }
.ra-scene.is-paused .ra-scene__zoom, .ra-scene.is-paused .ra-cursor, .ra-scene.is-paused .ra-cursor::before { animation-play-state: paused; }
@keyframes ra-kb { 0%, 30% { transform: scale(1); } 100% { transform: scale(1.22); } }
.ra-cursor { position: absolute; left: calc(var(--x) * 100% / 1440); top: calc(var(--y) * 100% / 900); width: 28px; height: 28px; margin: -3px 0 0 -5px; opacity: 0; z-index: 2; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 1.6L10 19z' fill='%230f1d33' stroke='white' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.ra-cursor::before { content: ""; position: absolute; left: -14px; top: -14px; width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--orange); opacity: 0; }
@keyframes ra-cur { 0% { opacity: 0; transform: translate(-260px, 160px); } 8% { opacity: 1; } 36% { transform: translate(0, 0); } 42% { transform: scale(.82); } 47% { transform: scale(1); } 100% { opacity: 1; transform: none; } }
@keyframes ra-ring { 0%, 41% { opacity: 0; transform: scale(.4); } 44% { opacity: 1; } 62% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; } }
.ra-cap { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: min(88%, 780px); z-index: 3; min-height: 60px; }
.ra-cap__item { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 20px; border-radius: 14px; background: rgba(15,29,51,.9); color: #fff; font-size: 18px; line-height: 1.45; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.ra-cap__item.is-on { opacity: 1; transform: none; }
.ra-cap__item b { color: #ffb27a; font-weight: 800; margin-right: 4px; }
.is-end .ra-cap { display: none; }
.ra-scene--end { display: grid; place-items: center; text-align: center; color: #fff; background: radial-gradient(circle at 30% 20%, #3b6ff5 0%, #2459e8 35%, #0f1d33 100%); padding: 24px; }
.ra-logo--end { color: #fff; }
.ra-logo--end .ra-logo__word b { color: #ffb27a; }
.ra-end__h { font-size: clamp(24px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin: 22px 0 28px; line-height: 1.15; }
.ra-player__screen::after { content: ""; position: absolute; inset: 0; z-index: 3; background: rgba(15,29,51,.28); transition: opacity .3s; pointer-events: none; }
.ra-player.is-playing .ra-player__screen::after, .ra-player.is-end .ra-player__screen::after { opacity: 0; }
.ra-bigplay { position: absolute; inset: 0; margin: auto; z-index: 4; width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--orange); cursor: pointer; box-shadow: 0 16px 40px -10px rgba(236,100,6,.7); transition: transform .15s, opacity .2s; }
.ra-bigplay:hover { transform: scale(1.06); }
.ra-bigplay span { display: block; width: 0; height: 0; margin-left: 38px; border-style: solid; border-width: 17px 0 17px 28px; border-color: transparent transparent transparent #fff; }
.ra-player.is-playing .ra-bigplay, .ra-player.is-end .ra-bigplay { opacity: 0; pointer-events: none; }
.ra-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.ra-ctrl__btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); cursor: pointer; display: grid; place-items: center; }
.ra-ctrl__icon { width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.ra-player.is-playing .ra-ctrl__icon { width: 12px; height: 15px; margin: 0; border: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.ra-ctrl__track { flex: 1; display: flex; gap: 6px; }
.ra-ctrl__seg { position: relative; flex: 1; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.ra-ctrl__seg::before, .ra-ctrl__seg i { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 3px; }
.ra-ctrl__seg::before { background: #dfe6f2; }
.ra-ctrl__seg i { display: block; background: var(--orange); transform-origin: left center; transform: scaleX(0); }
.ra-ctrl__time { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

/* three steps */
.ra-simple { padding-top: 70px; }
.ra-three { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ra-three li { padding: 30px 28px; border-radius: 20px; background: var(--peach); }
.ra-three li:nth-child(2) { background: var(--sky); }
.ra-three li:nth-child(3) { background: var(--mint); }
.ra-three__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 19px; }
.ra-three li:nth-child(2) .ra-three__n { background: var(--blue); }
.ra-three li:nth-child(3) .ra-three__n { background: #1fa463; }
.ra-three h3 { margin-top: 18px; font-size: 22px; }
.ra-three p { margin-top: 8px; color: var(--muted); }

/* prices */
.ra-prices { background: linear-gradient(180deg, #fff 0%, var(--sky) 100%); }
.ra-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.ra-plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 40px -24px rgba(15,29,51,.35); }
.ra-plan--hot { border: 2px solid var(--blue); box-shadow: 0 30px 70px -30px rgba(36,89,232,.55); transform: translateY(-10px); }
.ra-plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 13px; font-weight: 800; white-space: nowrap; }
.ra-plan h3 { font-size: 24px; }
.ra-plan__for { color: var(--muted); margin-top: 4px; }
.ra-plan__price { margin: 20px 0 6px; }
.ra-plan__price b { font-size: 54px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ra-plan__price span { color: var(--muted); font-weight: 600; }
.ra-plan .ra-ticks { flex: 1; margin-bottom: 28px; }
.ra-plan .ra-ticks li { font-weight: 500; font-size: 16px; }
.ra-plan--hot .ra-ticks li::before { background-color: var(--orange); }
.ra-cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.ra-cards span { padding: 6px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .02em; }

/* order form */
.ra-orderwrap { background: var(--ink); color: #fff; padding: 100px 0; }
.ra-order { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.ra-order__text > p { margin-top: 16px; font-size: 19px; color: rgba(255,255,255,.82); }
.ra-mini { margin: 34px 0 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 18px; }
.ra-mini li { position: relative; padding-left: 52px; color: rgba(255,255,255,.75); counter-increment: m; }
.ra-mini li b { display: block; color: #fff; font-size: 18px; }
.ra-mini li::before { content: counter(m); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; }
.ra-pick { border: 0; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ra-pick legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.ra-pick__opt { position: relative; cursor: pointer; }
.ra-pick__opt input { position: absolute; opacity: 0; }
.ra-pick__opt span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: #f6f8fb; transition: border-color .15s, background .15s; }
.ra-pick__opt b { font-size: 16px; }
.ra-pick__opt em { font-style: normal; color: var(--muted); font-size: 14px; font-weight: 600; }
.ra-pick__opt input:checked + span { border-color: var(--blue); background: var(--sky); }
.ra-pick__opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.ra-lock { width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center/contain no-repeat; }
.ra-secure { margin-top: 12px; text-align: center; color: var(--muted); font-size: 14px; }
.ra-faq__cta { margin-top: 40px; }

@media (max-width: 1080px) {
	.ra-plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
	.ra-plan--hot { transform: none; order: -1; }
}
@media (max-width: 900px) {
	.ra-hero--v3 { padding: 70px 0 80px; }
	.ra-three, .ra-order { grid-template-columns: 1fr; }
	.ra-order { gap: 36px; }
}
@media (max-width: 700px) {
	.ra-cap { left: 0; right: 0; bottom: 0; width: auto; transform: none; min-height: 0; }
	.ra-cap__item { border-radius: 0; font-size: 13px; padding: 8px 12px; }
	.ra-bigplay { width: 68px; height: 68px; }
	.ra-bigplay span { margin-left: 27px; border-width: 12px 0 12px 20px; }
	.ra-end__h { margin: 12px 0 16px; }
	.ra-scene--end .ra-btn--big { min-height: 44px; padding: 0 18px; font-size: 15px; }
	.ra-pick { grid-template-columns: 1fr; }
	.ra-orderwrap { padding: 70px 0; }
	.ra-videosec { padding-top: 60px; }
	.ra-ctrl__time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ra-scene.is-run .ra-scene__zoom, .ra-scene.is-run .ra-cursor, .ra-scene.is-run .ra-cursor::before { animation: none; }
}

/* v3 fine-tuning */
.ra-hero--v3::before { background: linear-gradient(100deg, rgba(10,25,60,.93) 0%, rgba(14,40,105,.82) 48%, rgba(20,60,160,.18) 82%); }
.ra-hero--v3 .ra-lead { max-width: 30em; }
.ra-player { max-width: 980px; }
.ra-player__screen { aspect-ratio: 16 / 9; }
.ra-cursor { width: 36px; height: 36px; }
.ra-logo--end .ra-logo__mark { background: var(--orange); }
.ra-scene__zoom { bottom: auto; aspect-ratio: 16 / 10; }
.ra-scene .ra-shot { bottom: auto; aspect-ratio: 16 / 10; }
