/* ============================================
   HostTrip - Custom Styles
   ============================================ */

/* ------ CSS Variables ------ */
:root {
	--navy-900: #0a1628;
	--navy-800: #0f172a;
	--slate-700: #334155;
	--slate-500: #64748b;
	--blue-600: #2a62fe;
	--blue-500: #4b7dfd;
	--blue-100: #eef2ff;
	--slate-200: #e2e8f0;
	--slate-50: #f8fafc;
	--white: #ffffff;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
	--shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	--shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
	--radius: 12px;
	--radius-sm: 8px;
	--transition: all 0.3s ease;
}

/* ------ Global ------ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background-color: var(--slate-50);
	color: var(--slate-700);
	line-height: 1.6;
	overflow-x: hidden;
}

/* ------ Utility Classes ------ */
.fs-14 { font-size: 14px !important; }
.fs-16 { font-size: 16px !important; }
.fs-18 { font-size: 18px !important; }
.fw-800 { font-weight: 800 !important; }
.max-w-600 { max-width: 600px; }
.z-1 { z-index: 1; }

/* ------ Section Labels ------ */
.section-label {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--blue-600);
	background: var(--blue-100);
	padding: 4px 14px;
	border-radius: 20px;
	margin-bottom: 12px;
}

.section-label-dark {
	color: #6b8aff;
	background: rgba(42, 98, 254, 0.1);
	border: 1px solid rgba(42, 98, 254, 0.2);
}

/* ------ Section Spacing ------ */
.section-padding {
	padding: 120px 0;
}

/* ------ Buttons ------ */
.btn-primary {
	background-color: var(--blue-600) !important;
	border-color: var(--blue-600) !important;
	border-radius: var(--radius-sm);
	padding: 12px 32px;
	font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--blue-500) !important;
	border-color: var(--blue-500) !important;
}

.btn-outline-primary {
	color: var(--blue-600);
	border-color: var(--blue-600);
	border-radius: var(--radius-sm);
	padding: 12px 32px;
	font-weight: 600;
}

.btn-outline-primary:hover {
	background-color: var(--blue-600);
	border-color: var(--blue-600);
	color: var(--white);
}

/* ============================================
   SECTION 1: PROMO BAR
   ============================================ */
.promo-bar {
	background-color: var(--navy-900);
	color: #8899bb;
	padding: 10px 0;
	font-size: 14px;
}

.promo-bar i {
	color: var(--blue-500);
}

/* ============================================
   SECTION 2: HEADER
   ============================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: var(--transition);
	border-bottom: 1px solid transparent;
}

.site-header.scrolled {
	background: rgba(255, 255, 255, 0.98);
	border-bottom-color: #e5e7eb;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.site-header .navbar {
	padding: 12px 0;
}

.site-header .nav-link {
	font-size: 15px;
	font-weight: 500;
	color: var(--slate-700);
	padding: 8px 12px !important;
	transition: color 0.2s;
}

.site-header .nav-link:hover {
	color: var(--blue-600);
}

/* Mega Menu */
.mega-dropdown {
	position: static;
}

.mega-menu {
	width: 100%;
	border: 1px solid var(--slate-200);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	margin-top: 0;
}

.mega-links {
	margin: 0;
	padding: 0;
}

.mega-links li a {
	display: flex;
	align-items: center;
	padding: 8px 12px;
	color: var(--slate-700);
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	transition: background-color 0.2s;
}

.mega-links li a:hover {
	background-color: var(--blue-100);
	color: var(--blue-600);
}

.mega-links li a i {
	color: var(--slate-500);
	font-size: 18px;
	width: 24px;
	text-align: center;
}

.badge-new {
	background: rgba(42, 98, 254, 0.08);
	color: var(--blue-600);
	padding: 2px 8px;
	border-radius: 40px;
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	margin-left: 5px;
	border: 1px solid rgba(42, 98, 254, 0.25);
}

/* Regular Dropdowns */
.dropdown-menu {
	border: 1px solid var(--slate-200);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	padding: 8px;
}

.dropdown-item {
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 12px;
}

.dropdown-item:hover {
	background-color: var(--blue-100);
	color: var(--blue-600);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999998;
	display: none;
	opacity: 0;
	transition: opacity 0.3s;
}

.mobile-overlay.open {
	display: block;
	opacity: 1;
}

.mobile-menu-panel {
	position: fixed;
	top: 0;
	left: -300px;
	width: 300px;
	height: 100%;
	background: var(--white);
	z-index: 999999;
	transition: left 0.3s ease;
	overflow-y: auto;
	display: none;
}

.mobile-menu-panel.open {
	left: 0;
}

.mobile-menu-header {
	padding: 15px;
	text-align: right;
	border-bottom: 1px solid #eee;
}

.mobile-close-btn {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	padding: 5px 10px;
	line-height: 1;
}

.mobile-menu-content {
	padding: 15px;
}

.mobile-nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-nav-item {
	border-bottom: 1px solid #eee;
}

.mobile-nav-link {
	display: block;
	padding: 12px 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--slate-700);
	text-decoration: none;
	cursor: pointer;
}

.mobile-arrow {
	float: right;
	font-size: 12px;
	transition: transform 0.3s;
}

.mobile-nav-item.open .mobile-arrow {
	transform: rotate(90deg);
}

.mobile-submenu {
	display: none;
	list-style: none;
	padding-left: 15px;
	margin: 0 0 10px 0;
}

.mobile-nav-item.open .mobile-submenu {
	display: block;
}

.mobile-submenu li a {
	display: block;
	padding: 8px 0;
	font-size: 14px;
	color: var(--slate-500);
	text-decoration: none;
}

.mobile-submenu li a:hover {
	color: var(--blue-600);
}

.mobile-menu-footer {
	margin-top: 20px;
	padding-top: 15px;
}

.mobile-signin-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 12px;
	background: var(--blue-600);
	color: var(--white);
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
}

.mobile-signin-btn:hover {
	background: var(--blue-500);
	color: var(--white);
}

@media (max-width: 991px) {
	.mobile-menu-panel {
		display: block;
	}
}

/* ============================================
   SECTION 3: HERO
   ============================================ */
.hero-section {
	padding: 140px 0 120px;
	position: relative;
	background-image: linear-gradient(to bottom, rgba(10, 22, 40, 0.75), rgba(10, 22, 40, 0.85)), url('../images/hero-bg.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--white);
	overflow: hidden;
}


.hero-section::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, rgba(42, 98, 254, 0.08) 0%, transparent 60%);
	pointer-events: none;
}

.hero-title {
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--white);
}

.hero-section .text-muted {
	color: #8899bb !important;
}

/* Hero Ghost Button */
.btn-ghost-light {
	color: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius-sm);
	padding: 12px 32px;
	font-weight: 600;
	background: transparent;
	transition: var(--transition);
}

.btn-ghost-light:hover {
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--white);
	background: rgba(255, 255, 255, 0.05);
}

/* Trust Bar */
.trust-bar {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
	padding: 16px 24px;
	max-width: 600px;
	margin: 32px auto 0;
}

.trust-item {
	text-align: center;
	padding: 4px 20px;
	flex: 1;
}

.trust-item + .trust-item {
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-value {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #6b8aff;
}

.trust-label {
	display: block;
	font-size: 11px;
	color: #8899bb;
	margin-top: 2px;
}

/* ============================================
   INNER PAGES: Page Header, Breadcrumb, Content
   ============================================ */
.page-header {
	padding: 60px 0 40px;
	background: var(--slate-50);
}

.page-title {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	font-weight: 800;
	color: var(--navy-800);
}

.page-header .breadcrumb {
	font-size: 14px;
}

.page-header .breadcrumb-item a {
	color: var(--blue-600);
	text-decoration: none;
}

.page-header .breadcrumb-item.active {
	color: var(--slate-500);
}

.content-section {
	padding: 0 0 80px;
}

.content-card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 40px;
}

.content-card h2 {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--navy-800);
	margin-top: 32px;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}

.content-card h2:first-child {
	margin-top: 0;
}

.content-card h3 {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--navy-800);
	margin-top: 24px;
	margin-bottom: 10px;
}

.content-card p {
	color: var(--slate-700);
	line-height: 1.75;
}

.content-card ul {
	padding-left: 20px;
	margin-bottom: 16px;
}

.content-card ul li {
	padding: 4px 0;
	color: var(--slate-700);
	line-height: 1.7;
}

.content-card a {
	color: var(--blue-600);
	text-decoration: none;
}

.content-card a:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.content-card {
		padding: 24px;
	}

	.content-section {
		padding: 0 0 40px;
	}

	.page-header {
		padding: 40px 0 24px;
	}
}

/* ============================================
   SECTION 5: PRICING
   ============================================ */
.pricing-section {
	padding: 120px 0;
	background: var(--slate-50);
}

.pricing-heading {
	font-size: clamp(1.8rem, 3.5vw, 2.7rem);
	color: var(--navy-800);
}

.pricing-tabs-wrapper {
	border: 1px solid var(--slate-200);
	border-radius: var(--radius-sm);
	padding: 5px;
	display: inline-flex;
	overflow-x: auto;
	max-width: 100%;
	background: var(--white);
}

.pricing-tabs {
	flex-wrap: nowrap;
	gap: 2px;
}

.pricing-tabs .nav-link {
	color: var(--slate-700);
	font-size: 14px;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	white-space: nowrap;
	border: none;
	background: transparent;
	transition: var(--transition);
}

.pricing-tabs .nav-link:hover {
	background: var(--blue-100);
}

.pricing-tabs .nav-link.active {
	background: var(--blue-600) !important;
	color: var(--white) !important;
}

/* Price Cards */
.price-card {
	background: var(--white);
	border-radius: var(--radius);
	border: 1px solid var(--slate-200);
	box-shadow: var(--shadow);
	padding: 32px;
	height: 100%;
	transition: var(--transition);
}

.price-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.price-card-popular {
	border-top: 2px solid var(--blue-600);
	border-left: 1px solid var(--slate-200);
	border-right: 1px solid var(--slate-200);
	border-bottom: 1px solid var(--slate-200);
}

.price-card h3 {
	font-weight: 800;
	color: var(--navy-800);
}

.feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	padding: 4px 0;
	color: var(--slate-700);
}

.feature-list li i {
	color: var(--blue-600);
	font-size: 14px;
	margin-top: 3px;
	flex-shrink: 0;
}

/* ============================================
   SECTION 6: SUPPORT STATS
   ============================================ */
.support-section {
	padding: 120px 0;
	background: var(--white);
}

.stat-card {
	background: var(--white);
	border: 1px solid var(--slate-200);
	border-radius: var(--radius);
	padding: 24px;
	transition: var(--transition);
}

.stat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.stat-icon-circle {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--blue-100);
	border-radius: 50%;
	font-size: 20px;
	color: var(--blue-600);
}

/* ============================================
   SECTION 7: WHY HOSTTRIP
   ============================================ */
.why-section {
	background: var(--blue-100);
	padding: 120px 0;
	margin-bottom: 0;
}

.why-card {
	padding: 32px;
	background: var(--white);
	border-radius: var(--radius);
	border: 1px solid var(--slate-200);
	box-shadow: var(--shadow-sm);
	height: 100%;
	transition: var(--transition);
}

.why-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--blue-600);
}

.why-card h6 {
	margin-bottom: 12px;
	color: var(--navy-800);
}

.why-card p {
	color: var(--slate-500);
}

.why-icon-circle {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #d6e4ff;
	border-radius: 50%;
	margin-bottom: 16px;
	font-size: 18px;
	color: var(--blue-600);
	transition: var(--transition);
}

.why-card:hover .why-icon-circle {
	border: 1px solid var(--blue-600);
}

/* ============================================
   SECTION 8: FAQ
   ============================================ */
.faq-section {
	background: var(--slate-50);
	padding: 120px 0;
}

.faq-section .accordion-item {
	border: none;
	margin-bottom: 12px;
	border-radius: var(--radius) !important;
	overflow: hidden;
}

.faq-section .accordion-button {
	background: var(--white);
	border-radius: var(--radius) !important;
	border: 1px solid var(--slate-200);
	box-shadow: none;
	font-size: 15px;
	padding: 16px 20px;
	color: var(--navy-800);
	font-weight: 600;
}

.faq-section .accordion-button:not(.collapsed) {
	background: var(--blue-600);
	color: var(--white);
	border-color: var(--blue-600);
}

.faq-section .accordion-button:not(.collapsed)::after {
	filter: brightness(0) invert(1);
}

.faq-section .accordion-button:focus {
	box-shadow: none;
}

.faq-section .accordion-body {
	border: 1px solid var(--slate-200);
	border-top: none;
	border-radius: 0 0 var(--radius) var(--radius);
	color: var(--slate-700);
	line-height: 1.7;
}

/* CTA Section */
.cta-section {
	background: var(--slate-50);
	padding: 80px 0;
	position: relative;
}

.cta-card {
	background: var(--navy-900);
	border-radius: 20px;
	padding: 50px 60px;
	position: relative;
	overflow: hidden;
}

.cta-card::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 30%;
	transform: translate(-50%, -50%);
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(42, 98, 254, 0.12) 0%, transparent 60%);
	pointer-events: none;
}

.cta-illustration {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 0;
}

/* ============================================
   SECTION 10: FOOTER
   ============================================ */
.site-footer {
	padding-top: 60px;
	background: var(--navy-800);
}

.footer-links {
	margin: 0;
	padding: 0;
}

.footer-links li {
	margin-bottom: 6px;
}

.footer-links a {
	color: #8899bb;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: var(--blue-500);
}

.footer-bottom {
	padding: 16px 0;
	margin-top: 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
	color: #8899bb;
	font-size: 22px;
	transition: color 0.2s;
	text-decoration: none;
}

.social-link:hover {
	color: var(--blue-500);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1000;
	width: 52px;
	height: 52px;
	background-color: var(--blue-600);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	box-shadow: 0 4px 12px rgba(42, 98, 254, 0.4);
	transition: transform 0.3s ease;
	text-decoration: none;
}

.whatsapp-float:hover {
	transform: scale(1.1);
	color: var(--white);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-bar {
	position: fixed;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%) translateY(60px);
	z-index: 99999;
	width: 70%;
	max-width: 900px;
	background: var(--white);
	border-radius: 14px;
	border: 1px solid var(--slate-200);
	color: var(--slate-700);
	padding: 14px 20px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	opacity: 0;
	transition: all 0.6s ease;
}

.cookie-bar.show {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}

.cookie-icon svg {
	width: 28px;
	height: 28px;
	color: var(--blue-600);
	flex-shrink: 0;
}

.cookie-text {
	flex: 1;
	font-size: 14px;
	line-height: 1.5;
	color: var(--slate-700);
}

.cookie-text a {
	color: var(--blue-600);
	text-decoration: none;
	font-weight: 500;
}

.cookie-accept {
	border: 0;
	padding: 8px 18px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	font-size: 13px;
	transition: all 0.2s ease;
	background: var(--blue-600);
	color: var(--white);
}

.cookie-accept:hover {
	background: var(--blue-500);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
	.hero-section {
		padding: 100px 0 80px;
	}

	.hero-title {
		font-size: clamp(1.6rem, 4vw, 2.2rem);
	}

	.trust-bar {
		flex-wrap: wrap;
		gap: 8px;
	}

	.trust-item {
		flex: 0 0 calc(50% - 12px);
		border-left: none !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		padding: 12px;
	}

	.trust-item:nth-child(n+3) {
		border-bottom: none;
	}

	.pricing-section,
	.support-section,
	.why-section,
	.faq-section {
		padding: 80px 0;
	}

	.section-padding {
		padding: 80px 0;
	}

	.cta-section {
		padding: 60px 0;
	}

	.mobile-menu-panel {
		display: block;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.promo-bar {
		font-size: 12px;
	}

	.hero-section {
		padding: 80px 0 60px;
	}

	.hero-title {
		font-size: clamp(1.5rem, 6vw, 2rem);
	}

	.trust-bar {
		flex-direction: column;
		gap: 0;
	}

	.trust-item {
		flex: 0 0 100%;
		border-left: none !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		padding: 12px;
	}

	.trust-item:last-child {
		border-bottom: none;
	}

	.trust-item + .trust-item {
		border-left: none;
	}

	.pricing-tabs-wrapper {
		max-width: calc(100vw - 30px);
	}

	.price-card {
		padding: 24px;
	}

	.pricing-section,
	.support-section,
	.why-section,
	.faq-section {
		padding: 60px 0;
	}

	.section-padding {
		padding: 60px 0;
	}

	.cta-section {
		padding: 48px 0;
	}

	.cta-card {
		padding: 30px 24px;
		border-radius: 16px;
	}

	.section-label,
	.section-label-dark {
		font-size: 10px;
	}

	.cookie-bar {
		flex-direction: column;
		text-align: center;
		width: 90%;
		padding: 16px;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.hero-title {
		font-size: 1.5rem;
	}

	.pricing-heading {
		font-size: 1.5rem;
	}

	.why-card {
		padding: 20px;
	}

	.stat-card {
		padding: 16px;
	}
}
