/* Merge Drive landing page */

:root {
	--gradient: linear-gradient(to right, #e1a0f7 0%, #d39ff8 21%, #9b9cfa 75%, #7c9afc 100%);
	--purple: #7c9afc;
	--text: #363843;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	line-height: 23px;
	font-size: 14px;
	color: var(--text);
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	background: #fff;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
	color: var(--text);
	font-family: 'Poppins', sans-serif;
	line-height: normal;
	margin: 0;
}
p { margin: 0; }
h1 { font-size: 36px; }
h2 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }

a { transition: 0.4s; color: var(--text); text-decoration: none; }
a:hover, a:focus, a:active { color: var(--text); text-decoration: none; outline: 0; }

img { max-width: 100%; height: auto; vertical-align: middle; border-style: none; }

ul { list-style: none; margin: 18px 0 0; padding: 0; }

button { font-family: inherit; }

/* ---------- Grid (Bootstrap 4 compatible) ---------- */
.container {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}
[class*="col-"] {
	position: relative;
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
}
.col-6 { flex: 0 0 50%; max-width: 50%; }
@media (min-width: 768px) {
	.col-md-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
	.col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
}
@media (min-width: 992px) {
	.col-lg-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
	.col-lg-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
	.col-lg-6  { flex: 0 0 50%; max-width: 50%; }
	.col-lg-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
	.col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

.text-center { text-align: center; }
@media (min-width: 992px) { .text-lg-left { text-align: left; } }

.flexbox-center { display: flex; justify-content: center; align-items: center; }

.ptb-80 { padding-top: 80px; padding-bottom: 80px; }

/* ---------- Header ---------- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 30px 0;
	z-index: 9;
	max-height: 110px;
	transition: all 0.4s;
}
.header.sticky {
	padding: 10px 0;
	border-bottom: 1px solid #fff;
	background: var(--gradient);
}
.logo img { width: 65px; }

.mainmenu { display: block; text-align: right; }
.mainmenu li {
	display: inline-block;
	text-transform: uppercase;
	margin-left: 15px;
}
.mainmenu li a {
	display: inline-block;
	color: #fff;
	padding: 5px 0;
}
.mainmenu ul li a:hover,
.mainmenu ul li a.active { color: #000; }

/* Mobile menu (SlickNav look) */
.responsive-menu { display: none; }
.menu-btn {
	float: right;
	display: block;
	margin: 5px 5px 6px;
	padding: 7px 10px;
	border: 0;
	border-radius: 4px;
	background: #222;
	cursor: pointer;
	line-height: 18px;
	font-size: 16px;
}
.menu-btn span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 1px;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.menu-btn span + span { margin-top: 3px; }
.mobile-nav {
	display: none;
	position: absolute;
	top: 100%;
	right: 15px;
	z-index: 9;
	margin: 0;
	padding: 0;
	min-width: 140px;
	border: 2px solid #fff;
	background: var(--gradient);
	font-size: 14px;
	clear: both;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
	display: block;
	padding: 5px 10px;
	margin: 2px 5px;
	color: #fff;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: #000; background: transparent; }

/* ---------- Banner ---------- */
.banner-area {
	position: relative;
	z-index: 1;
	padding-top: 100px;
	padding-bottom: 70px;
	background: var(--gradient);
}
.banner-area::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	opacity: 0.07;
	background: url(../assets/img/header-shape.png) no-repeat center / cover;
}
.single-banner { color: #fff; }
.single-banner h1 { color: #fff; max-width: 540px; }
.single-banner p { margin: 42px 0 50px; }
.left-header p { font-size: 18px; }

/* ---------- Phone mockups ---------- */
.device {
	position: relative;
	width: 250px;
	padding: 10px;
	border-radius: 40px;
	background: linear-gradient(145deg, #2b2f3d 0%, #14161f 100%);
	box-shadow:
		inset 0 0 0 2px rgba(255, 255, 255, 0.08),
		0 30px 60px rgba(30, 22, 70, 0.35);
}
.device::before {
	content: "";
	position: absolute;
	top: 110px;
	right: -3px;
	width: 3px;
	height: 56px;
	border-radius: 0 3px 3px 0;
	background: inherit;
}
.device::after {
	content: "";
	position: absolute;
	top: 18px;
	left: 50%;
	width: 9px;
	height: 9px;
	margin-left: -4.5px;
	border-radius: 50%;
	background: #0b0c10;
	box-shadow: inset 0 0 0 2px #24283a;
	z-index: 2;
}
.device img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 30px;
	background: #fff;
}
.device--light {
	background: linear-gradient(145deg, #ffffff 0%, #e4e7f1 100%);
	box-shadow:
		inset 0 0 0 1px rgba(26, 31, 54, 0.08),
		0 30px 60px rgba(30, 22, 70, 0.25);
}
.device--light::after { background: #cfd3df; box-shadow: none; }

.phone-pair {
	position: relative;
	width: 420px;
	max-width: 100%;
	height: 600px;
	margin: 0 auto;
}
.phone-pair .device { position: absolute; }
.phone-pair .device--back {
	top: 0;
	left: 0;
	width: 230px;
	transform: rotate(-4deg);
}
.phone-pair .device--front {
	top: 50px;
	right: 0;
	width: 245px;
	z-index: 1;
}
.device--single { display: inline-block; width: 270px; }
.single-feature-box .device--single { margin: 20px 0 60px; }

/* ---------- About ---------- */
.about-area { text-align: center; }
.sec-title {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 55px;
}
.sec-title h2 { text-transform: uppercase; }

.provider-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px 38px;
	padding: 24px 0 26px;
}
.provider {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 500;
	color: #3c4043;
	letter-spacing: -0.01em;
}
.provider img { width: 40px; height: 40px; object-fit: contain; }

.single-about-box { margin-top: 35px; }
.about-icon {
	display: block;
	width: 60px;
	height: 60px;
	margin: 0 auto;
	fill: url(#md-gradient);
	transition: all 0.4s;
}
.single-about-box:hover .about-icon { transform: scale(0.7); }
.single-about-box h4 { margin: 28px 0 20px; }

/* ---------- Feature ---------- */
.feature-area {
	position: relative;
	z-index: 1;
	overflow: hidden;
	padding-top: 85px;
	padding-bottom: 20px;
	background: var(--gradient);
}
.feature-area::before {
	content: "";
	position: absolute;
	top: -30px;
	left: 0;
	right: 0;
	bottom: -30px;
	z-index: -1;
	opacity: 0.3;
	background: url(../assets/img/overview-shape.png) no-repeat center / cover;
}
.single-feature-box,
.single-feature-box h2 { color: #fff; }
.single-feature-box h2 {
	text-transform: uppercase;
	max-width: 360px;
	line-height: normal;
	margin-top: 32px;
	margin-bottom: 25px;
}
.single-feature-box ul { padding-top: 15px; padding-bottom: 5px; }
.single-feature-box li {
	position: relative;
	margin-bottom: 15px;
	padding-left: 30px;
	font-size: 16px;
}
.single-feature-box li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 11px;
	height: 9px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath fill='white' d='M11 0 9.9 1.1l5.1 5.1H0v1.6h15l-5.1 5.1L11 14l7-7-7-7Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Overview / Handy features ---------- */
.single-overview-box h2 { text-transform: uppercase; }
.single-overview-box p { margin-top: 25px; }

/* ---------- Login button ---------- */
.mainmenu li.menu-login { margin-left: 26px; text-transform: none; }
.login-btn,
.mainmenu li a.login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 24px;
	border-radius: 999px;
	background: #fff;
	color: #6f7ef6;
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	box-shadow: 0 6px 16px rgba(54, 56, 67, 0.16);
	transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.login-btn:hover,
.mainmenu li a.login-btn:hover {
	color: #5a63e8;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(54, 56, 67, 0.22);
}
.responsive-menu .login-btn {
	float: right;
	height: 36px;
	padding: 0 16px;
	margin: 5px 8px 0 0;
	font-size: 13px;
}

/* ---------- Footer (dark) ---------- */
.site-footer {
	padding: 56px 0 24px;
	background: var(--gradient);
	color: #fff;
	font-size: 15px;
	line-height: 1.6;
}
.site-footer .footer-wrap {
	width: min(1140px, calc(100% - 40px));
	margin-inline: auto;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.site-footer .footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	color: #fff;
	font-weight: 600;
	font-size: 18px;
}
.site-footer .footer-brand img {
	width: 52px;
	height: 52px;
	padding: 4px;
	border-radius: 12px;
	background: #fff;
}
.site-footer p { margin: 0; max-width: 32ch; font-size: 14px; color: #fff; opacity: 0.92; }
.site-footer h4 {
	margin: 0 0 14px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #000; }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 18px;
	font-size: 13px;
}

/* ---------- Scroll to top ---------- */
.scrolltotop {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 100%;
	border: 3px double #fff;
	background: var(--gradient);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s, visibility 0.4s, transform 0.4s;
}
.scrolltotop.is-visible { opacity: 1; visibility: visible; }
.scrolltotop:hover { transform: scale(0.9); color: #fff; }
.scrolltotop svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- Legal pages ---------- */
.legal-page {
	--accent: #6f7ef6;
	--accent-soft: rgba(124, 154, 252, 0.12);
	--ink: #0f172a;
	--muted: #5b6b82;
	--line: #e3e6f3;
	font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
}
.legal-page .legal-wrap {
	width: min(1140px, calc(100% - 40px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	height: 78px;
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.site-header .header-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.site-header .brand img { width: 52px; height: 52px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.site-nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 10px; }

.pill-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pill-btn:hover { transform: translateY(-1px); }
.pill-btn--primary {
	color: #fff;
	background: linear-gradient(135deg, #b99ff9 0%, #8f9cfb 50%, #6f86fb 100%);
	box-shadow: 0 4px 12px rgba(111, 126, 246, 0.25);
}
.pill-btn--primary:hover { color: #fff; box-shadow: 0 8px 18px rgba(111, 126, 246, 0.32); }
.pill-btn--secondary {
	color: var(--ink);
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(111, 126, 246, 0.2);
}
.pill-btn--secondary:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(111, 126, 246, 0.3), 0 8px 18px rgba(111, 126, 246, 0.1); }

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
	display: block;
	position: relative;
	width: 16px;
	height: 2px;
	margin: 0 auto;
	border-radius: 2px;
	background: var(--ink);
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

.page-hero {
	padding: 64px 0 28px;
	background: linear-gradient(180deg, #faf6ff 0%, #eef0ff 100%);
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.eyebrow::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gradient);
}
.page-hero h1 {
	margin: 0;
	color: var(--ink);
	font-family: inherit;
	font-size: clamp(2.4rem, 5vw, 4.4rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.08;
}
.page-hero .lead {
	margin: 16px 0 0;
	max-width: 46ch;
	color: var(--muted);
	font-size: 1.05rem;
}
.page-hero .hero-note { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.prose {
	max-width: 720px;
	margin: 0 auto 80px;
	padding: 0 20px;
}
.prose h2 {
	margin: 32px 0 12px;
	color: var(--ink);
	font-family: inherit;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.prose h3 {
	margin: 20px 0 8px;
	color: var(--ink);
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 700;
}
.prose p { margin: 0 0 14px; }
.prose p,
.prose li { color: var(--muted); line-height: 1.6; }
.prose ul {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
	padding-left: 1.25rem;
	list-style: disc;
}
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); font-weight: 600; }
.prose a:hover { color: #5a63e8; text-decoration: underline; }
.prose code {
	padding: 1px 6px;
	border-radius: 6px;
	background: #f3f4fb;
	border: 1px solid var(--line);
	color: var(--ink);
	font-size: 0.85em;
	word-break: break-all;
}

/* ---------- Responsive ---------- */
@media only screen and (max-width: 991px) {
	.mainmenu li { margin-left: 9px; font-size: 12px; }
	.mainmenu li a { padding: 2px 0; }
	.single-banner { margin-bottom: 40px; }
	.single-feature-box.text-center { margin-top: 50px; }
	.single-overview-box.text-lg-left.text-center { margin-bottom: 50px; }
	.banner-area { padding-bottom: 30px; }
	.single-feature-box h2 { margin-top: 0; }
	.mainmenu li.menu-login { margin-left: 14px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }

	.site-nav,
	.header-cta .pill-btn--secondary { display: none; }
	.menu-toggle { display: grid; place-items: center; }
	.site-nav.is-open {
		display: flex;
		position: absolute;
		top: 60px;
		left: -20px;
		right: -20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding: 18px 20px;
		background: #fff;
		border-bottom: 1px solid var(--line);
	}
}

@media only screen and (max-width: 767px) {
	.mainmenu { display: none; }
	.responsive-menu { display: block; }
	.header { padding: 20px 0; }
	.sec-title { margin-bottom: 30px; }
	.provider-strip { gap: 12px 24px; }
	.provider { font-size: 17px; }
	.provider img { width: 32px; height: 32px; }
}

@media only screen and (max-width: 576px) {
	.single-banner h1 { font-size: 25px; }
	.single-banner p { margin: 20px 0; }
	.logo { max-width: 100px; margin-top: 7px; }
}

@media only screen and (max-width: 480px) {
	.phone-pair { width: 300px; height: 450px; }
	.phone-pair .device--back { width: 170px; }
	.phone-pair .device--front { width: 185px; top: 40px; }
	.device { padding: 8px; border-radius: 32px; }
	.device img { border-radius: 24px; }
	.device::after { top: 14px; }
	.device--single { width: 230px; }
}

@media only screen and (max-width: 680px) {
	.footer-grid { grid-template-columns: 1fr; }
	.page-hero { padding: 44px 0 24px; }
}
