/* FlexiDhan — home */
.sec-title {
	margin: 0;
	font-size: clamp(30px, 4.2vw, 50px);
	line-height: 1.08;
	letter-spacing: -0.035em;
	font-weight: 800;
	color: var(--ink);
}
.sec-title em { font-style: italic; color: var(--indigo-bright); }

section { position: relative; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 90px; overflow: hidden; }
.ribbon--hero { position: absolute; left: 0; top: 60px; width: 100%; height: 700px; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__app { margin: 0 0 18px; font-weight: 700; font-size: 15px; color: var(--indigo-deep); letter-spacing: 0.01em; }
.hero h1 {
	margin: 0;
	font-size: clamp(46px, 7vw, 92px);
	line-height: 0.98;
	letter-spacing: -0.05em;
	font-weight: 800;
}
.hero h1 em {
	display: block;
	font-style: italic;
	background: linear-gradient(100deg, var(--indigo-bright) 10%, #7a6bff 55%, #3fb894 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-bottom: 0.06em;
}
.hero__lead { margin: 26px 0 0; max-width: 520px; font-size: 18px; color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__traits { display: flex; gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; font-weight: 600; font-style: italic; color: var(--ink-soft); }
.hero__traits li { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--mint { background: var(--mint-strong); }
.dot--indigo { background: var(--indigo); }
.dot--coin { background: var(--coin); }

.hero__stage { position: relative; min-height: 600px; }
.hero__phone {
	position: absolute;
	right: 0;
	top: 0;
	width: 62%;
	margin: 0;
	border-radius: 40px 40px 0 0;
	overflow: hidden;
	transform: rotate(4deg);
	-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
	filter: drop-shadow(0 30px 40px rgba(54, 45, 225, 0.25));
}

/* reserve meter card — the signature interaction */
.reserve {
	position: absolute;
	left: 0;
	bottom: 0;
	width: min(440px, 88%);
	padding: 24px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid #fff;
	backdrop-filter: blur(20px) saturate(1.5);
	-webkit-backdrop-filter: blur(20px) saturate(1.5);
	box-shadow: var(--shadow), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
}
.reserve__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.reserve__reset {
	border: 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--lavender);
	color: var(--indigo-deep);
	font: 600 12px/1.3 var(--font);
	cursor: pointer;
}
.reserve__reset:hover { background: var(--indigo); color: #fff; }
.reserve__amount { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 14px; }
.reserve__amount output { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.reserve__amount small { font-size: 14px; font-weight: 600; color: var(--muted); }

.meter {
	--p: 6%;
	position: relative;
	display: flex;
	height: 58px;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(20, 18, 74, 0.08);
}
.meter__used {
	flex: 0 0 var(--p);
	min-width: 18px;
	display: flex;
	align-items: center;
	padding-left: 12px;
	background: linear-gradient(135deg, #7a6bff, var(--indigo-deep));
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	position: relative;
}
.meter__used::after {
	content: '';
	position: absolute;
	right: 4px;
	top: 50%;
	width: 6px;
	height: 26px;
	margin-top: -13px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.9);
}
.meter__used span { opacity: 0; transition: opacity 0.2s; }
.meter.is-wide .meter__used span { opacity: 1; }
.meter__free {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-right: 14px;
	background:
		repeating-linear-gradient(-45deg, rgba(92, 201, 166, 0.16) 0 8px, rgba(92, 201, 166, 0.05) 8px 16px),
		var(--mint-soft);
	color: #1f8a68;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
}
.meter input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
}
.meter:focus-within { box-shadow: 0 0 0 3px rgba(94, 91, 247, 0.35); }
.meter__scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }

.days { display: block; margin-top: 16px; }
.days > span { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.days b { color: var(--ink); }
.days input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	margin: 12px 0 4px;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--indigo) var(--d, 11%), #e3e1f7 var(--d, 11%));
	outline: none;
	cursor: pointer;
}
.days input::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	border: 5px solid var(--indigo);
	box-shadow: 0 4px 10px rgba(54, 45, 225, 0.35);
}
.days input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--indigo); }
.days input:focus-visible { box-shadow: 0 0 0 4px rgba(94, 91, 247, 0.25); }

.reserve__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 0; }
.reserve__out div { padding: 10px 12px; border-radius: 14px; background: var(--lavender-2); }
.reserve__out div:last-child { background: var(--ink); color: #fff; }
.reserve__out dt { font-size: 11px; font-weight: 600; color: var(--muted); }
.reserve__out div:last-child dt { color: #b7b4f5; }
.reserve__out dd { margin: 2px 0 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.reserve__note { margin: 12px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }

/* ---------- limit vs withdrawal ---------- */
.split { padding: 70px 0 40px; }
.split .sec-title { max-width: 820px; }
.split__grid { display: grid; grid-template-columns: 1fr 90px 1.25fr; align-items: center; margin-top: 48px; }
.split__card { padding: 34px; border-radius: var(--radius-lg); }
.split__card p { margin: 0; }
.split__label { font-weight: 700; font-size: 14px; letter-spacing: 0.02em; }
.split__card--hold {
	background: linear-gradient(160deg, #e6fbf4, #c9f4e8);
	color: #155e48;
	border: 1px solid #fff;
}
.split__card--hold p:last-child { color: #2c6f5a; }
.split__big { font-size: clamp(80px, 11vw, 140px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin: 10px 0 18px !important; color: #1f8a68; }
.split__card--use { background: linear-gradient(150deg, #6f60fd 0%, #3b2dfd 60%, #2a20b8 100%); color: #fff; box-shadow: var(--shadow); }
.split__card--use .split__label { color: #cfcbff; }
.split__ribbon svg { width: 100%; height: 220px; display: block; }
.terms { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.terms li { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 18px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.terms li:first-child { border-top: 0; }
.terms b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.terms span { font-size: 15px; color: #e1deff; }
.split__extra { max-width: 860px; margin: 28px 0 0; padding: 18px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.6); border: 1px solid #fff; font-size: 15px; color: var(--ink-soft); }
.split__extra b { color: var(--ink); }

/* ---------- 120-day timeline ---------- */
.example { padding: 80px 0 40px; }
.example__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.example__head p { margin: 0; font-size: 17px; color: var(--ink-soft); }
.timeline {
	display: grid;
	grid-template-columns: 1fr 4fr 1fr;
	gap: 14px;
	margin-top: 44px;
	align-items: stretch;
}
.timeline__start,
.timeline__end,
.timeline__track li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px;
	border-radius: var(--radius);
}
.timeline__start { background: var(--mint-soft); color: #155e48; }
.timeline__end { background: var(--ink); color: #fff; }
.timeline__end small { color: #b7b4f5 !important; }
.timeline__track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	position: relative;
}
.timeline__track li { background: #fff; border: 1px solid #ecebfb; position: relative; overflow: hidden; }
.timeline__track li::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: linear-gradient(90deg, #7a6bff, var(--indigo-deep));
}
.timeline__day { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }
.timeline b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.timeline small { font-size: 13px; line-height: 1.45; color: var(--muted); }
.timeline__start small { color: #2c6f5a; }
.example__math {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1px;
	margin-top: 22px;
	border-radius: var(--radius);
	overflow: hidden;
	background: #e4e2fa;
}
.example__math p { margin: 0; padding: 14px 16px; background: rgba(255, 255, 255, 0.85); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.example__math span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.example__note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- how it works ---------- */
.how { padding: 100px 0 40px; }
.how__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.how__sub { margin: 18px 0 0; font-size: 17px; color: var(--ink-soft); max-width: 480px; }
.path { list-style: none; margin: 36px 0 0; padding: 0; position: relative; }
.path::before {
	content: '';
	position: absolute;
	left: 25px;
	top: 26px;
	bottom: 26px;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(180deg, #9df0d8, var(--indigo) 60%, var(--indigo-deep));
}
.path li + li { margin-top: 6px; }
.path button {
	width: 100%;
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 14px 18px 14px 0;
	border: 0;
	border-radius: var(--radius);
	background: transparent;
	text-align: left;
	font: inherit;
	color: var(--ink-soft);
	cursor: pointer;
	transition: background 0.25s;
}
.path i {
	position: relative;
	flex: 0 0 54px;
	height: 54px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	border: 4px solid #e3e1f7;
	font-style: normal;
	font-weight: 800;
	font-size: 18px;
	color: var(--indigo-deep);
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.path span { padding-top: 4px; font-size: 15px; }
.path b { display: block; font-size: 19px; color: var(--ink); margin-bottom: 4px; letter-spacing: -0.01em; }
.path li.is-active button { background: rgba(255, 255, 255, 0.75); box-shadow: 0 14px 30px -20px rgba(54, 45, 225, 0.5); }
.path li.is-active i { background: var(--indigo); color: #fff; border-color: #cfcbff; }

.how__stage { position: relative; aspect-ratio: 600 / 887; max-width: 440px; width: 100%; margin-inline: auto; }
.how__shot {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center top;
	opacity: 0;
	transform: translateY(16px) scale(0.98);
	transition: opacity 0.45s, transform 0.45s;
	-webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.how__shot.is-show { opacity: 1; transform: none; }
.how__withdraw {
	inset: 8% 6% auto 6%;
	width: auto;
	height: auto;
	padding: 28px;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow);
	-webkit-mask-image: none;
	mask-image: none;
}
.w-title { margin: 0 0 16px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.w-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed #e3e1f7; font-size: 15px; color: var(--ink-soft); }
.w-row b { color: var(--ink); font-variant-numeric: tabular-nums; }
.w-row--minus b { color: var(--tag); }
.w-sent { margin-top: 18px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #7a6bff, var(--indigo-deep)); color: #fff; }
.w-sent span { display: block; font-size: 13px; color: #d8d5ff; }
.w-sent b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.w-foot { margin: 14px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- trust ---------- */
.trust { padding: 100px 0 40px; }
.trust__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.trust__visual { margin: 0; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.req__item { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.75); border: 1px solid #fff; }
.req__item b {
	flex: 0 0 64px;
	height: 64px;
	display: grid;
	place-items: center;
	border-radius: 20px;
	background: linear-gradient(135deg, #ffd27a, var(--coin));
	color: #5a3500;
	font-size: 22px;
	font-weight: 800;
	box-shadow: 0 10px 20px -10px rgba(247, 169, 36, 0.8);
}
.req__item:nth-child(2) b { background: linear-gradient(135deg, #9df0d8, var(--mint-strong)); color: #0e4a38; box-shadow: 0 10px 20px -10px rgba(92, 201, 166, 0.8); }
.req__item span { font-size: 15px; color: var(--ink-soft); }
.trust h3 { margin: 40px 0 0; font-size: 22px; letter-spacing: -0.02em; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.ticks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.trust__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- support ---------- */
.support { padding: 100px 0 0; }
.support__card {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 30px;
	align-items: end;
	padding: 56px 56px 0;
	border-radius: 40px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(225, 222, 251, 0.85) 60%, rgba(212, 250, 248, 0.9));
	border: 1px solid #fff;
	overflow: hidden;
	box-shadow: var(--shadow);
}
.support__copy { padding-bottom: 56px; }
.contact { margin: 32px 0 0; display: grid; gap: 18px; }
.contact div { padding-left: 18px; border-left: 4px solid var(--indigo); }
.contact dt { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; }
.contact a { color: var(--indigo-deep); text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.support__visual { margin: 0; align-self: end; }
.support__visual img { width: 100%; -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 60%, transparent 100%); mask-image: radial-gradient(120% 90% at 50% 30%, #000 60%, transparent 100%); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.example__math { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
	.hero__grid,
	.how__grid,
	.trust__grid,
	.example__head { grid-template-columns: 1fr; }
	.hero__stage { min-height: 0; display: grid; }
	.hero__phone { position: relative; width: 70%; max-width: 360px; margin: 0 0 0 auto; }
	.reserve { position: relative; width: 100%; max-width: 520px; margin: -220px auto 0 0; }
	.split__grid { grid-template-columns: 1fr; gap: 16px; }
	.split__ribbon { display: none; }
	.timeline { grid-template-columns: 1fr; }
	.how__stage { max-width: 360px; }
	.trust__visual { max-width: 380px; margin-inline: auto; order: 2; }
	.support__card { grid-template-columns: 1fr; padding: 36px 28px 0; }
	.support__copy { padding-bottom: 0; }
	.support__visual { max-width: 340px; margin-inline: auto; }
}
@media (max-width: 600px) {
	.hero { padding-top: 16px; }
	.hero__lead { font-size: 16px; }
	.hero__cta .btn { width: 100%; }
	.hero__phone { width: 78%; }
	.reserve { padding: 18px; margin-top: -180px; }
	.reserve__amount output { font-size: 36px; }
	.reserve__out { grid-template-columns: 1fr 1fr; }
	.reserve__out div:last-child { grid-column: 1 / -1; }
	.split__card { padding: 24px; }
	.terms li { grid-template-columns: 1fr; gap: 2px; }
	.timeline__track { grid-template-columns: 1fr 1fr; }
	.example__math { grid-template-columns: 1fr; }
	.req { grid-template-columns: 1fr; }
	.path button { padding-right: 10px; }
	.path span { font-size: 14px; }
}
