/* Landing page - Visa Australia */
:root {
	--primary: #022169;
	--secondary: #0066CC;
	--accent-green: #00CC66;
	--cta-orange: #FF6600;
	--cta-orange-hover: #e65c00;
	--bg: #FFFFFF;
	--bg-light: #F8F9FA;
	--text: #1a1a1a;
	--text-muted: #5a5a5a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: 'Sarabun', 'Prompt', sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

/* Nav */
.nav-wrap {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(2, 33, 105, 0.95);
	backdrop-filter: blur(8px);
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.75rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.nav-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: #fff;
	font-family: 'Prompt', sans-serif;
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: 0.02em;
}
.nav-logo:hover { color: #fff; }
.nav-logo img {
	height: 40px;
	width: auto;
	object-fit: contain;
}
.nav-menu {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
}
.nav-menu a {
	color: rgba(255,255,255,0.9);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: color 0.2s;
}
.nav-menu a:hover { color: #fff; }
.lang-switcher { position: relative; }
.lang-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.6rem;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.4);
	border-radius: 8px;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s;
}
.lang-trigger:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.7); color: #fff; }
.lang-trigger .flag { font-size: 1.1rem; line-height: 1; }
.lang-trigger .arrow { font-size: 0.65rem; opacity: 0.9; transition: transform 0.2s; }
.lang-switcher.open .lang-trigger .arrow { transform: rotate(180deg); }
.lang-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 0.25rem;
	min-width: 140px;
	background: rgba(2, 33, 105, 0.98);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
	z-index: 100;
}
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	color: rgba(255,255,255,0.95);
	text-decoration: none;
	font-size: 0.9rem;
	transition: background 0.15s;
}
.lang-dropdown a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.lang-dropdown a .flag { font-size: 1.1rem; }
.nav-cta {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.25rem;
	border-radius: 8px;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--cta-orange); color: #fff; }
.btn-primary:hover { background: var(--cta-orange-hover); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nav-toggle { display: none; color: #fff; background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 0.25rem; }

/* Hero */
.hero {
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: linear-gradient(135deg, var(--primary) 0%, #03378a 40%, #0066CC 100%);
	color: #fff;
	text-align: center;
	padding: 6rem 1.25rem 4rem;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.5;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero h1 {
	font-family: 'Prompt', sans-serif;
	font-size: clamp(1.75rem, 4.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 1rem;
	text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.hero .subheadline {
	font-size: clamp(0.95rem, 2.2vw, 1.1rem);
	opacity: 0.95;
	margin-bottom: 2rem;
	line-height: 1.6;
}
.hero-download-label {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
	opacity: 0.95;
}
.hero-app-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	align-items: center;
	margin-bottom: 2.5rem;
}
.app-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.6rem 1.1rem 0.6rem 0.9rem;
	background: rgba(255,255,255,0.15);
	border: 2px solid rgba(255,255,255,0.6);
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s;
	min-width: 150px;
}
.app-badge:hover { background: rgba(255,255,255,0.25); border-color: #fff; color: #fff; }
.app-badge-icon { font-size: 1.75rem; line-height: 1; width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.app-badge-labels { display: flex; flex-direction: column; align-items: flex-start; }
.app-badge-text { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.app-badge-sub { font-size: 0.7rem; opacity: 0.9; margin-top: 0.1rem; font-weight: 500; }
.trust-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem 2rem;
	font-size: 0.9rem;
	opacity: 0.95;
}
.trust-badges span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-badges svg { flex-shrink: 0; }

/* Section common */
.section { padding: 4rem 1.25rem; max-width: 1200px; margin: 0 auto; }
.section-title {
	font-family: 'Prompt', sans-serif;
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	font-weight: 700;
	color: var(--primary);
	text-align: center;
	margin-bottom: 2rem;
}

/* Category cards */
.categories { background: var(--bg-light); }
.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}
.category-card {
	background: #fff;
	border-radius: 12px;
	padding: 1.75rem;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
	border: 2px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.category-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px rgba(2,33,105,0.12); }
.category-card .icon-wrap {
	width: 64px;
	height: 64px;
	margin: 0 auto 1rem;
	background: rgba(2, 33, 105, 0.08);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary);
	font-size: 1.75rem;
}
.category-card .icon-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.category-loading {
	grid-column: 1 / -1;
	text-align: center;
	padding: 2rem;
	color: var(--text-muted);
}
.category-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.5rem; }
.category-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.category-card .btn { width: 100%; font-size: 0.9rem; }
.category-card .crown { color: var(--accent-green); margin-left: 0.25rem; }
.category-card .category-app-msg { font-size: 0.9rem; color: var(--text-muted); margin: 0; margin-top: 0.5rem; }

/* Promotion bar */
.promo-bar {
	background: var(--primary);
	color: #fff;
	text-align: center;
	padding: 1rem 1.25rem;
	font-weight: 600;
	font-size: clamp(0.9rem, 2vw, 1.05rem);
}
.promo-bar a { color: #fff; text-decoration: underline; }
.promo-bar-links { display: inline-flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: center; margin-top: 0.35rem; }
.promo-bar-links a { white-space: nowrap; }

/* Why choose us */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}
.feature-card {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	background: var(--bg-light);
	padding: 1.5rem;
	border-radius: 12px;
	transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.feature-card .icon { color: var(--primary); font-size: 1.75rem; flex-shrink: 0; }
.feature-card h4 { font-size: 1.05rem; color: var(--primary); margin-bottom: 0.35rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Articles */
.articles { background: var(--bg-light); }
.article-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}
.article-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
	transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.article-card .thumb {
	height: 160px;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 2.5rem;
}
.article-card .body { padding: 1.25rem; }
.article-card .tag { font-size: 0.75rem; color: var(--secondary); font-weight: 600; margin-bottom: 0.5rem; }
.article-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--text); }
.article-card .btn { margin-top: 0.75rem; font-size: 0.9rem; }

/* How it works */
.steps-wrap { margin-top: 2rem; }
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
	text-align: center;
}
.step {
	padding: 1.25rem 0.75rem;
	background: var(--bg-light);
	border-radius: 12px;
	position: relative;
}
.step-num {
	width: 36px;
	height: 36px;
	background: var(--primary);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	margin: 0 auto 0.75rem;
	font-size: 1rem;
}
.step h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: 0.35rem; }
.step p { font-size: 0.85rem; color: var(--text-muted); }

/* Testimonials */
.testimonials { background: var(--bg-light); }
.testimonial-track {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	padding: 0.5rem 0 1rem;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}
.testimonial-track::-webkit-scrollbar { height: 6px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }
.testimonial-card {
	flex: 0 0 min(320px, 90vw);
	scroll-snap-align: start;
	background: #fff;
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.testimonial-card .stars { color: #f5a623; margin-bottom: 0.75rem; font-size: 1.1rem; }
.testimonial-card .quote { font-size: 0.95rem; color: var(--text); margin-bottom: 1rem; font-style: italic; }
.testimonial-card .author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card .avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1rem;
}
.testimonial-card .name { font-weight: 600; color: var(--primary); }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
	background: var(--bg-light);
	border-radius: 8px;
	margin-bottom: 0.75rem;
	overflow: hidden;
}
.faq-item summary {
	padding: 1rem 1.25rem;
	font-weight: 600;
	color: var(--primary);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--secondary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item .content { padding: 0 1.25rem 1rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.faq-loading, .faq-empty { text-align: center; color: var(--text-muted); padding: 1.5rem; }

/* Footer */
footer {
	background: var(--primary);
	color: rgba(255,255,255,0.9);
	padding: 3rem 1.25rem 2rem;
	margin-top: 3rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
footer a { color: rgba(255,255,255,0.95); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; font-size: 0.95rem; }
.footer-social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.15); border-radius: 50%; transition: background 0.2s; }
.footer-social a:hover { background: rgba(255,255,255,0.25); }
.footer-disclaimer { font-size: 0.8rem; opacity: 0.8; max-width: 600px; margin: 0 auto; line-height: 1.5; }
.footer-copyright { font-size: 0.85rem; opacity: 0.9; margin-top: 1rem; }

/* Line bubble */
.line-float {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 999;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #06C755;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(6, 199, 85, 0.45);
	text-decoration: none;
	transition: transform 0.2s;
	font-size: 1.75rem;
}
.line-float:hover { transform: scale(1.08); color: #fff; }

/* Contact page */
body.contact-page { background: var(--bg-light); }
.contact-section {
	max-width: 700px;
	margin: 0 auto;
	padding: 4rem 1.25rem;
}
.contact-section h1 {
	font-family: 'Prompt', sans-serif;
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	font-weight: 700;
	color: var(--primary);
	text-align: center;
	margin-bottom: 2rem;
}
.contact-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	padding: 2rem;
	border: 1px solid rgba(2, 33, 105, 0.1);
}
.contact-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-bottom: 1.25rem;
	align-items: flex-start;
}
.contact-row:last-child { margin-bottom: 0; }
.contact-label {
	font-weight: 600;
	color: var(--primary);
	min-width: 80px;
	font-size: 0.95rem;
}
.contact-value {
	color: var(--text);
	font-size: 1rem;
	line-height: 1.5;
}
.contact-value a {
	color: var(--secondary);
	text-decoration: none;
}
.contact-value a:hover { text-decoration: underline; }

/* Page content (privacy, terms, etc.) */
body.page-content-wrap { background: var(--bg-light); }
.page-content-section {
	max-width: 800px;
	margin: 0 auto;
	padding: 4rem 1.25rem;
}
.page-loading, .page-error {
	text-align: center;
	color: var(--text-muted);
	padding: 2rem;
}
.page-content-title {
	font-family: 'Prompt', sans-serif;
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 1.5rem;
}
.page-content-body {
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	border: 1px solid rgba(2, 33, 105, 0.08);
	color: var(--text);
	line-height: 1.7;
	font-size: 1rem;
}
.page-content-body h2 { font-size: 1.2rem; color: var(--primary); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.page-content-body h3 { font-size: 1.05rem; margin-top: 1rem; margin-bottom: 0.35rem; }
.page-content-body p { margin-bottom: 1rem; }
.page-content-body ul, .page-content-body ol { margin-bottom: 1rem; padding-left: 1.5rem; }

@media (max-width: 768px) {
	.nav-menu { display: none; }
	.nav-menu.open { display: flex; flex-direction: column; width: 100%; }
	.nav-cta { width: 100%; justify-content: center; }
	.nav-toggle { display: block; }
	.hero { min-height: 85vh; padding-top: 5rem; }
	.trust-badges { flex-direction: column; }
}
