/* Shared styles for all pages */

/* Fonts */
@font-face {
	font-family: 'CLOAK';
	src: url('images/CLOAK.woff2') format('woff2');
}

@font-face {
	font-family: 'Overused Grotesk';
	src: url('images/OverusedGrotesk-Medium-BF64eeac18163be.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: inherit;
}

html {
	overflow-y: scroll;
	scrollbar-gutter: stable;
	font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Body */
body {
	font-family: 'Overused Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 400;
	color: #666666;
	line-height: 1.6;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #000000;
	margin: 0;
	padding: 0;
	width: 100%;
	background-image:
		radial-gradient(60% 80% at 20% 10%, rgba(118, 75, 162, 0.25), rgba(0,0,0,0) 60%),
		radial-gradient(50% 70% at 80% 0%, rgba(102, 126, 234, 0.25), rgba(0,0,0,0) 60%),
		radial-gradient(60% 80% at 80% 90%, rgba(16, 185, 129, 0.18), rgba(0,0,0,0) 60%),
		radial-gradient(60% 80% at 15% 85%, rgba(236, 72, 153, 0.20), rgba(0,0,0,0) 60%),
		linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
	background-blend-mode: screen, screen, screen, screen, normal;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	min-height: 100vh;
	padding: 0;
}

/* Background System */
.background-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.background-container::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.1);
	pointer-events: none;
}

.background-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 3s ease-in-out;
	transform: translateZ(0);
	will-change: opacity;
}

.background-image.active {
	opacity: 1;
}

.background-image.fade-in {
	animation: fadeIn 2s ease-in-out;
}

.background-image.fade-out {
	animation: fadeOut 2s ease-in-out;
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		filter: blur(10px) brightness(0.8);
		transform: scale(1.025);
	}
	100% {
		opacity: 1;
		filter: blur(0px) brightness(1);
		transform: scale(1);
	}
}

@keyframes fadeOut {
	0% {
		opacity: 1;
		filter: blur(0px) brightness(1);
		transform: scale(1);
	}
	100% {
		opacity: 0;
		filter: blur(10px) brightness(0.8);
		transform: scale(1.025);
	}
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.65);
	z-index: 0;
	transform: translateZ(0);
	pointer-events: none;
}

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
	width: 100%;
}

/* Header */
header {
	background: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	z-index: 1000;
	transition: all 0.3s ease;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-sizing: border-box;
	min-height: 80px;
	height: 80px;
}



.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem 0;
	position: relative;
	min-height: 80px;
	height: 80px;
	box-sizing: border-box;
}
.header-left {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}
.header-center {
	position: absolute;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}
.header-right {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex: 0 0 auto;
	margin-left: auto;
}
.header-title {
	font-size: 1.25rem;
	font-weight: 400;
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	text-transform: none;
	letter-spacing: normal;
	font-family: 'Overused Grotesk', sans-serif;
	text-align: center;
	pointer-events: none;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.logo {
	display: flex;
	align-items: center;
	font-size: 1.25rem;
	font-weight: 300;
	color: #ffffff;
	text-decoration: none;
	letter-spacing: 0.5px;
	margin: 0;
	padding: 0;
}

.logo-img {
	height: 30px;
	width: 30px;
	margin-right: 8px;
	opacity: 0.9;
	transform: rotate(30deg);
	color: #0de7b1;
	flex-shrink: 0;
}

.logo-img svg {
	stroke-width: 1.0;
}

.logo-text {
	color: #cccccc;
	font-size: 1.1rem;
	font-weight: 400;
	letter-spacing: 0.2px;
	line-height: 20px;
}

.logo-tvp {
	font-weight: 700;
}

.myion-text {
	font-family: 'CLOAK', sans-serif;
	font-size: 150%;
	color: #0de7b1;
	margin-left: 0px;
}

.nav {
	display: flex;
	gap: 2.5rem;
	align-items: center;
}

/* Ensure nav is visible on desktop */
@media (min-width: 481px) {
	.header-right .nav {
		display: flex !important;
		visibility: visible !important;
	}
	
	/* Ensure text nav links are visible when they should be, but allow JavaScript to override */
	.nav a.nav-contact,
	.nav a.nav-faq,
	.nav a.nav-order-text {
		display: block;
		visibility: visible;
		color: #cccccc;
	}
	/* Hide icon-only links by default on wide screens - nav-update.js will show them when logged in */
	.nav a.nav-order-icon,
	.nav a.nav-missions,
	.nav a.nav-history {
		display: none;
	}
}

.nav a {
	text-decoration: none;
	color: #cccccc;
	font-weight: 400;
	font-size: 0.875rem;
	letter-spacing: 0.2px;
	position: relative;
	padding: 0.5rem 0;
	transition: all 0.2s ease;
}
/* Hide text content in nav links that contain icons (for icon-only navigation) */
.nav a i[data-lucide] {
	display: inline-block;
	vertical-align: middle;
}
/* Hide text nodes when icon is present - use font-size 0 trick */
.nav a:not(:only-child) {
	font-size: 0;
}
/* Ensure icon-only nav links hide their text completely */
.nav a:has(i[data-lucide]),
.nav a[title]:has(i[data-lucide]) {
	font-size: 0 !important;
	line-height: 0 !important;
}
/* Hide any text nodes in icon-only links */
.nav a:has(i[data-lucide]) > *:not(i[data-lucide]) {
	display: none !important;
}
/* Ensure title attribute doesn't show as text */
.nav a[title]:has(i[data-lucide])::before,
.nav a[title]:has(i[data-lucide])::after {
	content: none !important;
}
.nav a i[data-lucide] {
	font-size: initial !important;
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 24px !important;
	height: 24px !important;
}
/* Ensure text nav links show their text - only for links without icons (on index.html) */
body:not(.order-page) .nav a[href*="order"]:not(:has(i[data-lucide])):not(:has(i)),
body:not(.order-page) .nav .nav-contact:not(:has(i[data-lucide])):not(:has(i)),
body:not(.order-page) .nav .nav-faq:not(:has(i[data-lucide])):not(:has(i)) {
	font-size: 0.875rem !important;
}
/* On order page and other pages with icons, ensure icon-only links hide text */
.nav a[href*="order.html"]:has(i[data-lucide]),
.nav a[title="Order"]:has(i[data-lucide]),
.nav a[title="Missions"]:has(i[data-lucide]),
.nav a[title="History"]:has(i[data-lucide]) {
	font-size: 0 !important;
}

.nav a:hover {
	color: #ffffff;
}

.nav a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: #ffffff;
	transition: width 0.2s ease;
}

.nav a:hover::after {
	width: 100%;
}

/* Profile Menu */
.profile-menu {
	position: relative;
	display: flex;
	align-items: center;
}

.profile-icon-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	display: flex;
	align-items: center;
	transition: color 0.3s ease;
}

.profile-icon-btn.not-authenticated {
	color: #ff4444;
}

.profile-icon-btn.not-authenticated svg,
.profile-icon-btn.not-authenticated i {
	stroke: #ff4444;
	width: 24px !important;
	height: 24px !important;
}

.profile-icon-btn.authenticated {
	color: #10b981;
}

.profile-icon-btn.authenticated svg,
.profile-icon-btn.authenticated i {
	stroke: #10b981;
	width: 24px !important;
	height: 24px !important;
}

.profile-icon-btn:hover {
	color: #ffffff;
}

/* Ensure profile icon button never has spinner animation */
.profile-icon-btn,
.profile-icon-btn *,
.profile-icon-btn svg,
.profile-icon-btn i,
#profile-icon,
#profile-icon-btn {
	animation: none !important;
}
#profile-icon,
.profile-icon-btn i {
	width: 24px !important;
	height: 24px !important;
}

/* Prevent spinner class from affecting profile icon */
.profile-icon-btn.spinner,
#profile-icon-btn.spinner,
.profile-icon-btn .spinner {
	display: none !important;
}

.profile-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 8px;
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	min-width: 180px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	z-index: 1001;
}

.profile-menu-item {
	display: block;
	padding: 12px 16px;
	color: #cccccc;
	text-decoration: none;
	transition: background 0.2s;
	border: none;
	background: none;
	width: 100%;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.875rem;
}

.profile-menu-item:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.profile-menu-item:not(:last-child) {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hamburger {
	display: none;
}

/* Keep icons visible on medium screens, only show hamburger on very small screens */
@media (max-width: 600px) and (min-width: 481px) {
	.header-right .nav {
		gap: 1.5rem !important;
	}
	
	.nav a i[data-lucide] {
		width: 22px !important;
		height: 22px !important;
	}
	
	.profile-icon-btn i[data-lucide] {
		width: 22px !important;
		height: 22px !important;
	}
	
	.header-right {
		gap: 1rem !important;
	}
	
	/* Hide myion text to make room for icons */
	.myion-text {
		display: none !important;
	}
}

/* Hero Section */
.hero {
	padding: 4rem 0 2rem;
	text-align: center;
	position: relative;
	z-index: 1;
	margin-top: 80px;
}

.hero h1 {
	font-size: 3.75rem;
	font-weight: 500;
	margin-bottom: 1rem;
	color: #ffffff;
}

.hero h1.quote {
	font-size: 1.5rem;
	font-weight: 400;
	font-style: italic;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero p {
	color: #8b8b8b;
	max-width: 700px;
	margin: 0.5rem auto 0;
	font-size: 1.125rem;
}

/* Contact Hero */
.contact-hero {
	padding: 8rem 0 4rem;
	text-align: center;
	margin-top: 80px;
}

.contact-hero h1 {
	font-size: 3.75rem;
	font-weight: 500;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.contact-hero p {
	color: #8b8b8b;
	max-width: 600px;
	margin: 0 auto;
	font-size: 1.125rem;
}

.contact-content {
	padding: 2rem 0 4rem;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}

.contact-form {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 2rem;
	backdrop-filter: blur(20px);
}

.contact-info h3 {
	font-size: 1.25rem;
	margin-bottom: 1rem;
	color: #ffffff;
}

.contact-info p {
	color: #8b8b8b;
	margin-bottom: 1rem;
}

.contact-links {
	margin-top: 2rem;
}

.contact-links a {
	display: block;
	color: #cccccc;
	text-decoration: none;
	margin-bottom: 0.5rem;
	transition: color 0.2s;
}

.contact-links a:hover {
	color: #ffffff;
}

/* Privacy/Terms Content */
.privacy-content,
.terms-content {
	padding: 8rem 0 4rem;
	margin-top: 80px;
}

.privacy-content h1,
.terms-content h1 {
	font-size: 2.5rem;
	font-weight: 500;
	margin-bottom: 2rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.privacy-content h2,
.terms-content h2 {
	font-size: 1.5rem;
	font-weight: 500;
	margin: 2rem 0 1rem;
	color: #ffffff;
}

.privacy-content h3,
.terms-content h3 {
	font-size: 1.25rem;
	font-weight: 500;
	margin: 1.5rem 0 0.75rem;
	color: #ffffff;
}

.privacy-content p,
.terms-content p {
	margin-bottom: 1rem;
	color: #cccccc;
}

.privacy-content ul,
.terms-content ul {
	margin: 1rem 0;
	padding-left: 2rem;
}

.privacy-content li,
.terms-content li {
	margin-bottom: 0.5rem;
	color: #cccccc;
}

.privacy-content strong,
.terms-content strong {
	color: #ffffff;
	font-weight: 500;
}

.privacy-content .highlight,
.terms-content .highlight {
	background: rgba(102, 126, 234, 0.1);
	padding: 1rem;
	border-radius: 6px;
	border-left: 4px solid #667eea;
	margin: 1rem 0;
}

.privacy-content .contact-info,
.terms-content .contact-info {
	background: rgba(255, 255, 255, 0.05);
	padding: 1.5rem;
	border-radius: 8px;
	margin: 2rem 0;
}

/* Quote Section */
.quote-section {
	background: #000000;
	padding: 2rem 0;
	position: relative;
	z-index: 1;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	margin-top: 80px;
}

.quote {
	text-align: center;
	font-size: 1.25rem;
	color: #b3b3b3;
	font-style: italic;
}

/* Article Image Rows */
.articles {
	padding: 0 0 4rem;
}

.article-list {
	padding-top: 1rem;
}

.article-row {
	margin: 1.5rem 0;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.article-row a {
	display: block;
	flex: 3;
}

.article-row .thumb-img {
	width: 100%;
	height: 200px;
	object-fit: contain;
	background-color: #000000;
	border-radius: 8px;
	border: 1px solid #333333;
	display: block;
}

.article-caption {
	color: #8b8b8b;
	font-size: 0.95rem;
	margin-top: 0.5rem;
	line-height: 1.5;
	flex: 2;
}

/* Footer */
footer {
	background: #000000;
	padding: 3rem 0;
	color: #ffffff;
	transition: all 0.3s ease;
	position: relative;
	z-index: 1;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-links {
	display: flex;
	gap: 2rem;
}

.footer-links a {
	color: #cccccc;
	text-decoration: none;
	transition: all 0.2s;
}

.footer-links a:hover {
	color: #ffffff;
}

/* Order Form Styles */
.page {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem 16px;
	padding-top: calc(2rem + 80px);
	min-height: 100vh;
}

.form-card {
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	padding: 2rem;
	max-width: 720px;
	width: 100%;
	color: #ffffff;
}

.form-card h1 {
	color: #ffffff;
	font-size: 2rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
	text-align: center;
}

.form-card h2, .form-card h3 {
	color: #ffffff;
	font-weight: 400;
	margin-bottom: 1rem;
}

.form-card h4 {
	color: #cccccc;
	font-weight: 400;
}

.form-group {
	margin: 1.5rem 0;
}

.form-group label {
	display: block;
	color: #cccccc;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group textarea,
.form-group select {
	width: 100%;
	box-sizing: border-box;
	padding: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	font-family: inherit;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: rgba(102, 126, 234, 0.5);
	background: rgba(255, 255, 255, 0.15);
	box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
}

.form-group .row {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.form-group .row label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #cccccc;
	cursor: pointer;
}

.form-group input[type="radio"] {
	width: auto;
	margin: 0;
}

.form-group input[type="checkbox"] {
	width: auto;
	margin: 0;
}

.form-group textarea {
	min-height: 120px;
	resize: vertical;
}

.submit-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 0.75rem 2rem;
	border: none;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

#map {
	height: 300px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	margin-top: 8px;
}

#suggestions {
	max-height: 220px;
	overflow-y: auto;
	background: rgba(0, 0, 0, 0.8);
	color: #ffffff;
}

#suggestions option {
	background: rgba(0, 0, 0, 0.8);
	color: #ffffff;
	padding: 0.5rem;
}

#suggestions option:hover {
	background: rgba(102, 126, 234, 0.3);
}

.btn {
	background-color: #555577;
	color: #ffffff;
	padding: 12px 1.5rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: bold;
	font-size: 15px;
	transition: all 0.3s ease;
	font-family: inherit;
	width: 100%;
	margin: 10px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn:hover:not(:disabled) {
	opacity: 0.9;
}

.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.btn.submit {
	width: 100%;
	font-weight: 600;
}

/* Ensure anchor buttons maintain white text in all states */
a.btn,
a.btn:link,
a.btn:visited,
a.btn:hover,
a.btn:active {
	color: #ffffff !important;
}

#book-operators-btn,
#book-btn {
	background-color: #555577 !important;
	color: #ffffff !important;
	border: 2px solid #22c55e !important;
}

#book-operators-btn:hover:not(:disabled),
#book-btn:hover:not(:disabled) {
	opacity: 0.9 !important;
	border-color: #16a34a !important;
}

/* Forward/Next buttons with green borders */
#next-1,
#next-2,
#save-when,
#confirm-operator-btn {
	border: 2px solid #22c55e !important;
	background-color: transparent !important;
	color: #ffffff !important;
}

#next-1:hover:not(:disabled),
#next-2:hover:not(:disabled),
#save-when:hover:not(:disabled),
#confirm-operator-btn:hover:not(:disabled) {
	border-color: #16a34a !important;
	background-color: rgba(34, 197, 94, 0.1) !important;
}

#prev-4 {
	border: 2px solid #dc3545 !important;
	background: #dc3545 !important;
	background-color: #dc3545 !important;
	color: #ffffff !important;
	text-transform: uppercase !important;
}

#prev-4:hover:not(:disabled) {
	border: 2px solid #dc3545 !important;
	background: #c82333 !important;
	background-color: #c82333 !important;
	border-color: #c82333 !important;
}

.btn:not(.submit) {
	background-color: transparent;
	border: 1px solid #555577;
	color: #555577;
	width: auto;
}

.btn:not(.submit):hover:not(:disabled) {
	opacity: 0.9;
}

.hidden {
	display: none;
}

.summary {
	margin: 16px 0;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary .muted {
	color: #8b8b8b;
	font-size: 0.9em;
	margin-top: 4px;
}

.summary-section {
	margin: 16px 0;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-section:last-child {
	border-bottom: none;
}

.summary-section h4 {
	margin: 0 0 8px 0;
	color: #667eea;
	font-size: 1em;
	font-weight: 500;
}

.summary-section > div {
	margin: 4px 0;
	color: #cccccc;
}

.summary-section strong {
	color: #ffffff;
	font-weight: 500;
}

.error {
	color: #ff6b6b;
	font-weight: 600;
	margin-top: 8px;
	padding: 12px;
	border-radius: 6px;
	background-color: rgba(255, 107, 107, 0.1);
	border: 1px solid rgba(255, 107, 107, 0.3);
}

.error.success {
	color: #10b981;
	background-color: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.progress {
	margin: 8px 0 24px 0;
}

.circles {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

.circle {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8b8b8b;
	position: relative;
	background: rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.circle::after {
	content: attr(data-title);
	position: absolute;
	bottom: -22px;
	color: #8b8b8b;
	font-size: 12px;
	white-space: nowrap;
	transition: all 0.3s ease;
}

.circle.active {
	border-color: #667eea;
	color: #667eea;
	background: rgba(102, 126, 234, 0.1);
}

.circle.active::after {
	color: #667eea;
}

.progress-line {
	flex: 1;
	height: 2px;
	max-width: 60px;
	border-top: 2px dotted rgba(255, 255, 255, 0.3);
	transition: all 0.3s ease;
}

.progress-line.completed {
	border-top: 2px solid #667eea;
}

.step-title {
	margin-top: 0;
	color: #ffffff;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 600;
	font-family: 'Overused Grotesk', sans-serif;
}

.step-screen {
	display: none;
	min-height: 400px;
}

.step-screen.active {
	display: block;
}

.step-screen.hidden {
	display: none;
}

.step-nav {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 24px;
}

.step-nav button {
	flex: 1;
	max-width: 150px;
}

.step-nav button.submit {
	max-width: none;
}

dialog {
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	background: rgba(0, 0, 0, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	max-width: 600px;
	width: 90%;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;
	color: #ffffff;
}

dialog h3 {
	color: #ffffff;
	margin-bottom: 24px;
	font-size: 1.5rem;
	font-weight: 600;
	text-align: center;
}

/* Date/Time Picker Styles */
.datetime-picker-container {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 24px 0;
}

.datetime-field {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.datetime-field label {
	font-size: 1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 0.85rem;
}

.datetime-input {
	width: 100%;
	padding: 18px 20px;
	font-size: 1.2rem;
	background: rgba(255, 255, 255, 0.08);
	border: 2px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	color: #ffffff;
	transition: all 0.3s ease;
	font-family: inherit;
}

.datetime-input:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.25);
}

.datetime-input:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.15);
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.datetime-input::-webkit-calendar-picker-indicator {
	filter: invert(1);
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.2s;
}

.datetime-input::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
}

/* For Firefox */
.datetime-input::-moz-calendar-picker-indicator {
	filter: invert(1);
	cursor: pointer;
	opacity: 0.8;
}

.datetime-input::-moz-calendar-picker-indicator:hover {
	opacity: 1;
}

dialog::backdrop {
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
}

dialog:not([open]) {
	display: none;
}

.searching-container {
	text-align: center;
	padding: 40px 20px;
}

.spinner {
	width: 80px;
	height: 80px;
	border: 6px solid rgba(255, 255, 255, 0.1);
	border-top: 6px solid #667eea;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 20px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.countdown-clock {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	position: relative;
	width: 120px;
	height: 120px;
}

.countdown-circle {
	width: 120px;
	height: 120px;
	transform: rotate(-90deg);
}

.countdown-circle-bg {
	stroke: rgba(255, 255, 255, 0.1);
}

.countdown-circle-progress {
	stroke: #22c55e;
	stroke-dasharray: 339.292; /* 2 * π * 54 (circumference) */
	stroke-dashoffset: 339.292; /* Start with full circle (0% progress) */
	transition: stroke-dashoffset 0.3s ease;
}

.countdown-time {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2.5rem;
	font-weight: 600;
	color: #ffffff;
	font-family: 'Overused Grotesk', sans-serif;
	text-align: center;
	line-height: 1;
}

.countdown-label {
	font-size: 0.9rem;
	color: #8b8b8b;
	margin: 0;
	text-align: center;
}

.countdown-clock.hidden {
	display: none;
}

.searching-status {
	color: #8b8b8b;
	margin-top: 16px;
}

.match-pending {
	margin-top: 24px;
}

.match-preview {
	background-color: rgba(255, 193, 7, 0.1);
	border: 1px solid rgba(255, 193, 7, 0.3);
	border-radius: 6px;
	padding: 20px;
	color: #ffc107;
}

.match-preview h4 {
	margin: 0 0 12px 0;
	color: #ffc107;
}

.match-preview .confirm-message {
	color: #ffffff !important;
	margin: 16px 0;
	font-weight: 500;
}

.match-found {
	margin-top: 24px;
}

.match-success {
	background-color: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: 6px;
	padding: 20px;
	color: #10b981;
}

.match-success h4 {
	margin: 0 0 12px 0;
	color: #10b981;
}

.match-success p {
	margin: 12px 0 0 0;
	color: #10b981;
}

.operator-card {
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 6px;
	padding: 16px;
	margin: 12px 0;
	background: rgba(255, 255, 255, 0.05);
	transition: all 0.3s ease;
}

.operator-card:hover {
	border-color: #667eea;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
	background: rgba(102, 126, 234, 0.1);
}

.operator-card label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
	color: #cccccc;
}

.operator-card input[type="checkbox"] {
	margin-right: 12px;
	margin-top: 4px;
	cursor: pointer;
}

.match-multiple {
	margin-top: 24px;
}

.no-match-options {
	margin-top: 24px;
}

.no-match-options .step-nav {
	flex-direction: column;
	gap: 12px;
}

.no-match-options .step-nav button {
	max-width: none;
}

.help {
	color: #8b8b8b;
	font-size: 0.85rem;
	display: block;
	margin-top: 0.5rem;
}

.pricing-display {
	color: #cccccc;
}

.pricing-display strong {
	color: #ffffff;
	font-weight: 500;
}

/* Theme Toggle */
.theme-toggle {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1001;
	background: #ffffff;
	border: 1px solid #e5e5e5;
	border-radius: 20px;
	padding: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .theme-toggle {
	background: #333333;
	border-color: #555555;
	box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.toggle-slider {
	width: 40px;
	height: 20px;
	background: #cccccc;
	border-radius: 10px;
	position: relative;
	transition: all 0.3s ease;
}

body.dark-mode .toggle-slider {
	background: #8b5cf6;
}

.toggle-slider::before {
	content: '';
	position: absolute;
	width: 16px;
	height: 16px;
	background: #ffffff;
	border-radius: 50%;
	top: 2px;
	left: 2px;
	transition: all 0.3s ease;
}

body.dark-mode .toggle-slider::before {
	transform: translateX(20px);
}

/* Hero Tagline */
.hero-tagline {
	font-size: 0.875rem;
	font-weight: 500;
	font-family: 'Courier New', Courier, monospace;
	margin-top: 4rem;
	margin-bottom: 3rem;
	color: white;
	line-height: 1.2;
	white-space: nowrap;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-tagline .question {
	font-size: 0.875rem;
	font-weight: 500;
	font-family: 'Courier New', Courier, monospace;
	color: #cccccc;
	margin: 0;
	line-height: 1.2;
	opacity: 0;
	animation: fadeInQuestion 2s ease-in-out 2s forwards;
	white-space: nowrap;
	position: absolute;
}

.hero-tagline .answer {
	font-size: 0.875rem;
	font-weight: 500;
	font-family: 'Courier New', Courier, monospace;
	color: #cccccc;
	margin: 0;
	line-height: 1.2;
	opacity: 0;
	animation: fadeInAnswer 2s ease-in-out 7s forwards;
	white-space: nowrap;
	position: absolute;
}

@keyframes fadeInQuestion {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInAnswer {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Hero Buttons & Signup */
.hero-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.hero .primary-button {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	padding: 0.625rem 1.5rem;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.8rem;
	transition: all 0.3s ease;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
	border: none;
}

.hero-signup {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 600ms ease, transform 600ms ease;
}

.signup-box {
	width: 350px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	padding: 1.5rem;
	backdrop-filter: blur(20px);
	transition: all 0.3s ease;
}

.signup-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
	border-color: rgba(255, 255, 255, 0.3);
}

.signup-box input {
	width: 100%;
	padding: 0.75rem;
	margin-bottom: 1rem;
	border: none;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	font-size: 0.875rem;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

.signup-box input:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.2);
	box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.5);
}

.signup-box input::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.signup-box button {
	width: 100%;
	padding: 0.75rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.signup-box button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.cta-button {
	background: transparent;
	color: #ffffff;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.875rem;
	transition: all 0.3s ease;
	letter-spacing: 0.2px;
	border: none;
}

.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Features Section */
.features {
	padding: 4rem 0;
	background-color: rgba(17, 17, 17, 0.6);
	transition: all 0.3s ease;
	position: relative;
	z-index: 1;
	background-image:
		radial-gradient(60% 80% at 20% 10%, rgba(118, 75, 162, 0.25), rgba(0,0,0,0) 60%),
		radial-gradient(50% 70% at 80% 0%, rgba(102, 126, 234, 0.25), rgba(0,0,0,0) 60%),
		radial-gradient(60% 80% at 80% 90%, rgba(16, 185, 129, 0.18), rgba(0,0,0,0) 60%),
		radial-gradient(60% 80% at 15% 85%, rgba(236, 72, 153, 0.20), rgba(0,0,0,0) 60%);
	background-blend-mode: screen, screen, screen, screen;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
}

.section-header {
	text-align: center;
	margin-bottom: 4rem;
}

.section-header h2 {
	font-size: 2.5rem;
	font-weight: 500;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	transition: all 0.3s ease;
}

.section-header p {
	font-size: 1.125rem;
	color: #cccccc;
	max-width: 600px;
	margin: 0 auto;
	transition: all 0.3s ease;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.feature-card {
	background: #000000;
	padding: 2rem;
	border-radius: 8px;
	border: 1px solid #333333;
	transition: all 0.3s;
}

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	width: 48px;
	height: 48px;
	background: #ffffff;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	font-size: 1.5rem;
	color: #000000;
	transition: all 0.3s ease;
}

.feature-card h3 {
	font-size: 1.25rem;
	font-weight: 400;
	margin-bottom: 0.75rem;
	color: #ffffff;
	transition: all 0.3s ease;
}

.feature-card p {
	color: #cccccc;
	line-height: 1.6;
	transition: all 0.3s ease;
}

/* Pricing Section */
.pricing {
	padding: 6rem 0;
	background-color: rgba(0, 0, 0, 0.6);
	transition: all 0.3s ease;
	background-image:
		radial-gradient(60% 80% at 20% 10%, rgba(118, 75, 162, 0.25), rgba(0,0,0,0) 60%),
		radial-gradient(50% 70% at 80% 0%, rgba(102, 126, 234, 0.25), rgba(0,0,0,0) 60%),
		radial-gradient(60% 80% at 80% 90%, rgba(16, 185, 129, 0.18), rgba(0,0,0,0) 60%),
		radial-gradient(60% 80% at 15% 85%, rgba(236, 72, 153, 0.20), rgba(0,0,0,0) 60%);
	background-blend-mode: screen, screen, screen, screen;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.pricing-card {
	background: #000000;
	padding: 2rem;
	border-radius: 8px;
	border: 1px solid #333333;
	text-align: center;
	transition: all 0.3s;
}

.pricing-card.featured {
	border: 2px solid #000000;
	transform: scale(1.05);
}

.pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
	transform: scale(1.05) translateY(-4px);
}

.pricing-header h3 {
	font-size: 1.5rem;
	font-weight: 400;
	margin-bottom: 0.5rem;
	color: #ffffff;
	transition: all 0.3s ease;
}

.pricing-header p {
	color: #666666;
	margin-bottom: 1.5rem;
	transition: all 0.3s ease;
}

.price {
	font-size: 3rem;
	font-weight: 200;
	margin-bottom: 0.5rem;
	color: #000000;
	transition: all 0.3s ease;
}

.price span {
	font-size: 1rem;
	color: #666666;
	transition: all 0.3s ease;
}

.pricing-features {
	list-style: none;
	margin: 2rem 0;
}

.pricing-features li {
	padding: 0.5rem 0;
	color: #666666;
	transition: all 0.3s ease;
}

.pricing-features li::before {
	content: "✓";
	color: #000000;
	font-weight: 400;
	margin-right: 0.5rem;
	transition: all 0.3s ease;
}

/* CTA Section */
.cta-section {
	padding: 6rem 0;
	text-align: center;
	background: transparent;
	transition: all 0.3s ease;
	position: relative;
	z-index: 1;
	background-image:
		radial-gradient(60% 80% at 20% 10%, rgba(118, 75, 162, 0.25), rgba(0,0,0,0) 60%),
		radial-gradient(50% 70% at 80% 0%, rgba(102, 126, 234, 0.25), rgba(0,0,0,0) 60%),
		radial-gradient(60% 80% at 80% 90%, rgba(16, 185, 129, 0.18), rgba(0,0,0,0) 60%),
		radial-gradient(60% 80% at 15% 85%, rgba(236, 72, 153, 0.20), rgba(0,0,0,0) 60%);
	background-blend-mode: screen, screen, screen, screen;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
}

.cta-section h2 {
	font-size: 2.5rem;
	font-weight: 200;
	margin-bottom: 1rem;
	color: #ffffff;
	transition: all 0.3s ease;
}

.cta-section p {
	font-size: 1.125rem;
	color: #666666;
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	transition: all 0.3s ease;
}

/* Scroll Animations */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.slide-in-left {
	opacity: 0;
	transform: translateX(-50px);
	transition: all 0.8s ease;
}

.slide-in-left.visible {
	opacity: 1;
	transform: translateX(0);
}

.slide-in-right {
	opacity: 0;
	transform: translateX(50px);
	transition: all 0.8s ease;
}

.slide-in-right.visible {
	opacity: 1;
	transform: translateX(0);
}

.scale-in {
	opacity: 0;
	transform: scale(0.9);
	transition: all 0.8s ease;
}

.scale-in.visible {
	opacity: 1;
	transform: scale(1);
}

/* Dark Mode */
body.dark-mode {
	background: #000000;
	color: #ffffff;
}

body.dark-mode header {
	background: #000000;
	border-bottom-color: #333333;
}

body.dark-mode .logo {
	color: #ffffff;
}

body.dark-mode .nav a {
	color: #cccccc;
}

body.dark-mode .nav a:hover {
	color: #ffffff;
}

body.dark-mode .nav a::after {
	background: #ffffff;
}

body.dark-mode .hero {
	background: transparent;
}

body.dark-mode .hero-tagline {
	color: white;
}

body.dark-mode .hero h1 {
	color: #ffffff;
}

body.dark-mode .hero p {
	color: #8b8b8b;
}

body.dark-mode .hero .primary-button {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
}

body.dark-mode .signup-box {
	background: rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .signup-box input {
	background: rgba(255, 255, 255, 0.05);
	color: white;
}

body.dark-mode .signup-box input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .features {
	background-color: rgba(17, 17, 17, 0.6);
}

body.dark-mode .section-header h2 {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

body.dark-mode .section-header p {
	color: #8b8b8b;
}

body.dark-mode .feature-card {
	background: #000000;
	border-color: #333333;
}

body.dark-mode .feature-card:hover {
	box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

body.dark-mode .feature-icon {
	background: #ffffff;
	color: #000000;
}

body.dark-mode .feature-card h3 {
	color: #ffffff;
}

body.dark-mode .feature-card p {
	color: #8b8b8b;
}

body.dark-mode .pricing {
	background-color: rgba(0, 0, 0, 0.6);
}

body.dark-mode .pricing-card {
	background: #000000;
	border-color: #333333;
}

body.dark-mode .pricing-card.featured {
	border-color: #ffffff;
}

body.dark-mode .pricing-card:hover {
	box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

body.dark-mode .pricing-header h3 {
	color: #ffffff;
}

body.dark-mode .pricing-header p {
	color: #cccccc;
}

body.dark-mode .price {
	color: #ffffff;
}

body.dark-mode .price span {
	color: #cccccc;
}

body.dark-mode .pricing-features li {
	color: #cccccc;
}

body.dark-mode .pricing-features li::before {
	color: #ffffff;
}

body.dark-mode .cta-section {
	background-color: transparent;
}

body.dark-mode .cta-section h2 {
	color: #ffffff;
}

body.dark-mode .cta-section p {
	color: #cccccc;
}

body.dark-mode footer {
	background: #000000;
	color: #ffffff;
}

body.dark-mode .footer-links a {
	color: #666666;
}

body.dark-mode .footer-links a:hover {
	color: #000000;
}

b, strong {
	font-weight: 400;
}

/* Mobile Responsive */
@media (max-width: 480px) {
	body {
		padding-top: 70px;
	}

	header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		z-index: 9999;
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}

	.header-content {
		padding: 1rem 0;
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1rem;
	}

	.logo-img {
		height: 18px;
	}

	.logo-text {
		font-size: 0.9rem;
	}

	.hamburger {
		display: block;
		cursor: pointer;
		padding: 4px;
		position: relative;
		z-index: 10000;
		pointer-events: auto;
	}

	.hamburger span {
		display: block;
		width: 20px;
		height: 2px;
		background: #ffffff;
		margin: 4px 0;
		transition: 0.3s;
		border-radius: 1px;
	}

	.hamburger.active span:nth-child(1) {
		transform: rotate(-45deg) translate(-4px, 4px);
	}

	.hamburger.active span:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active span:nth-child(3) {
		transform: rotate(45deg) translate(-4px, -4px);
	}

	/* Hide nav icons on very small screens, show hamburger menu */
	.header-right .nav {
		display: none !important;
	}
	
	/* Mobile nav - only show when hamburger is active */
	.nav {
		position: fixed;
		top: 70px;
		left: 0;
		right: 0;
		background: rgba(0,0,0,0.95);
		backdrop-filter: blur(20px);
		display: none;
		flex-direction: column;
		padding: 1rem;
		transform: translateY(-100%);
		transition: transform 0.3s ease;
		z-index: 9998;
		border-bottom: 1px solid rgba(255,255,255,0.1);
		visibility: hidden;
		pointer-events: none;
	}

	.nav.active {
		display: flex !important;
		transform: translateY(0);
		visibility: visible;
		pointer-events: auto;
	}

	.nav a {
		pointer-events: auto;
		cursor: pointer;
	}

	.nav a {
		padding: 0.75rem 0;
		border-bottom: 1px solid rgba(255,255,255,0.1);
		text-align: center;
		font-size: 0.75rem;
	}

	.nav a:last-child {
		border-bottom: none;
	}

	/* Ensure header-right and profile menu are visible on mobile */
	.header-right {
		display: flex !important;
		align-items: center;
		gap: 0.5rem;
	}
	
	/* Make icons smaller on very small screens to keep them visible longer */
	.nav a i[data-lucide] {
		width: 20px !important;
		height: 20px !important;
	}
	
	.header-right .nav {
		gap: 1rem !important;
	}
	
	.profile-icon-btn i[data-lucide] {
		width: 20px !important;
		height: 20px !important;
	}
	
	/* Hide myion text to make room for icons */
	.myion-text {
		display: none !important;
	}

	.profile-menu {
		display: flex !important;
		align-items: center;
	}

	.profile-icon-btn {
		display: flex !important;
		align-items: center;
		padding: 6px;
	}

	.page {
		padding: 1rem 8px;
		padding-top: calc(1rem + 50px);
	}

	.form-card {
		padding: 1.5rem;
	}

	.form-card h1 {
		font-size: 1.5rem;
	}

	.step-nav {
		flex-direction: column;
	}

	.step-nav button {
		max-width: none;
		width: 100%;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.contact-hero {
		padding: 4rem 0 2rem;
	}

	.contact-hero h1 {
		font-size: 2.5rem;
	}

	.privacy-content,
	.terms-content {
		padding: 4rem 0 2rem;
	}

	.privacy-content h1,
	.terms-content h1 {
		font-size: 2rem;
	}

	.article-row {
		flex-direction: column;
		align-items: stretch;
	}

	.article-row a {
		flex: none;
	}

	.article-caption {
		margin-top: 0.5rem;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
	}

	.footer-links {
		justify-content: center;
	}

	.hero-tagline {
		font-size: 0.75rem;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.hero-buttons {
		flex-direction: column;
		align-items: center;
	}

	.features-grid,
	.pricing-grid {
		grid-template-columns: 1fr;
	}
}

/* Authentication form styles */
.field-error {
	display: block;
	color: #ff6b6b;
	font-size: 0.85rem;
	margin-top: 0.25rem;
	font-weight: 400;
}

.form-group input:invalid:not(:focus):not(:placeholder-shown) {
	border-color: rgba(255, 107, 107, 0.5);
}

.form-group input:valid:not(:focus):not(:placeholder-shown) {
	border-color: rgba(16, 185, 129, 0.5);
}

/* Inline spinner for buttons */
.spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top: 2px solid #ffffff;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	vertical-align: middle;
}

.spinner.hidden {
	display: none;
}

/* Auth page specific styles */
.form-card p {
	margin-bottom: 1rem;
}

.form-card a {
	color: #667eea;
	text-decoration: none;
	transition: color 0.2s;
}

.form-card a:hover {
	color: #764ba2;
	text-decoration: underline;
}

/* When Toggle Switch */
.when-toggle-container {
	display: flex;
	gap: 0;
	background: rgba(255, 255, 255, 0.05);
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 3px;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
}

.when-toggle-option {
	flex: 1;
	position: relative;
	cursor: pointer;
	margin: 0;
}

.when-toggle-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
}

.when-toggle-label {
	display: block;
	padding: 12px 20px;
	text-align: center;
	font-size: 1rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.6);
	background: transparent;
	border-radius: 8px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.when-toggle-option input[type="radio"]:checked + .when-toggle-label {
	background: #22c55e;
	color: #ffffff;
	border-color: #22c55e;
	box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.when-toggle-option:hover .when-toggle-label {
	color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.05);
}

.when-toggle-option input[type="radio"]:checked:hover + .when-toggle-label {
	background: #16a34a;
	border-color: #16a34a;
	box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Invoice card styles (used in history and order pages) */
.invoice-card {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	padding: 1rem;
	backdrop-filter: blur(10px);
	margin-bottom: 1rem;
}

.invoice-header {
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.invoice-header-row1 {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

.invoice-header-row2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.invoice-header-left {
	text-align: left;
}

.invoice-header-right {
	text-align: right;
}

.invoice-date {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
}

.invoice-room-name {
	color: #ffffff;
	font-size: 1rem;
	font-weight: 600;
}

.invoice-order-number {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
}

.invoice-total {
	color: #86efac;
	font-size: 1.1rem;
	font-weight: 600;
}

.invoice-info {
	margin-bottom: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.85rem;
	text-align: center;
}

.invoice-info-value {
	color: #ffffff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.invoice-line-items {
	margin-top: 0.5rem;
}

.invoice-line-items-header {
	display: grid;
	grid-template-columns: 2fr 2fr 0.5fr;
	gap: 0.5rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.invoice-line-items-header > div {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.invoice-line-item {
	display: grid;
	grid-template-columns: 2fr 2fr 0.5fr;
	gap: 0.5rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 0.85rem;
}

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

.invoice-participant {
	color: #ffffff;
	font-weight: 500;
}

.invoice-time {
	color: rgba(255, 255, 255, 0.7);
	font-family: monospace;
	font-size: 0.8rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
