/*
Theme Name: VBANX Consumer
Theme URI: https://vbanx.com
Author: VCONNECT Cambodia Co., Ltd.
Author URI: https://vbanx.com
Description: Custom WordPress theme for the VBANX Consumer (VBAXConsumer) mobile banking landing page.
Version: 1.0.1
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: vbanx-consumer
*/

/* -----------------------------------------
   0. Reset & Variables
----------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

:root{
	--bg:#ffffff;
	--bg-soft:#eef1f5;
	--surface:#ffffff;
	--border-soft:#e4e8f2;
	--ink:#101828;
	--ink-soft:#5b6472;
	--text-dim:#5b6472;

	--blue-accent:#01319B;
	--blue-bright:#2f7cf6;
	--blue-soft:#eaf1ff;
	--navy-700:#0a1330;
	--navy-800:#ffffff;
	--navy-900:#f6f8fc;
	--navy-950:#ffffff;

	--dark-navy-1:#0a1330;
	--dark-navy-2:#132a63;
	--dark-navy-ink:#ffffff;
	--dark-navy-ink-soft:rgba(255,255,255,0.72);
	--dark-navy-border:rgba(255,255,255,0.18);

	--cyan:#22d3ee;
	--orange:#f2932e;
	--orange-dark: color-mix(in srgb, var(--orange) 80%, black);
	--white:#ffffff;

	--container: 1200px;
	--radius: 14px;
	--shadow-card: 0 10px 30px rgba(1, 49, 155, 0.08);
	--shadow-card-hover: 0 18px 40px rgba(1, 49, 155, 0.16);

	--ease: cubic-bezier(.4, 0, .2, 1);
	--transition-fast: .2s var(--ease);
	--transition-base: .35s var(--ease);
	--transition-slow: .6s var(--ease);
}

html{
	scroll-behavior: smooth;
}

body{
	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ text-decoration: none; color: inherit; transition: color var(--transition-fast), background var(--transition-fast); }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }

a:focus-visible,
button:focus-visible{
	outline: 2px solid var(--blue-bright);
	outline-offset: 2px;
	border-radius: 4px;
}

.container{
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

.eyebrow{
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--text-dim);
	text-transform: uppercase;
}

.section-heading{
	text-align: center;
	max-width: 700px;
	margin: 0 auto 48px;
}

.section-heading h2{
	font-size: 40px;
	font-weight: 800;
	color: var(--blue-accent);
	margin: 0 0 14px;
	position: relative;
	display: inline-block;
}

.section-heading h2::after{
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	background: var(--orange);
	border-radius: 2px;
	margin: 14px auto 0;
	transition: width var(--transition-base);
}

.section-heading:hover h2::after{
	width: 84px;
}

  .hero-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:16px;
    margin-bottom:48px;
  }
  .btn-primary{
    background:var(--orange);
    color: var(--white);
    font-weight:600;
    font-size:14px;
    padding:13px 24px;
    border-radius:999px;
    transition:transform .2s ease, box-shadow .2s ease;
    white-space:nowrap;
    justify-content:center;
    display: inline-flex ;
  }
  .btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(253, 231, 208, 0.3); background-color: var(--blue-accent); color: var(--white);}

.section-heading p{
	color: var(--text-dim);
	font-size: 16px;
	margin: 18px 0 0;
}

.text-accent{ color: var(--orange); }

/* -----------------------------------------
   2. Hero
----------------------------------------- */
.hero{
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--bg-soft);
	
}

/* Full-bleed photo layer, sits behind everything */
.hero-visual{
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero-bg-img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 6s var(--ease);
}

.hero:hover .hero-bg-img{
	transform: scale(1.04);
}



.hero .container{
	position: relative;
	z-index: 2;
}

.hero-copy{
	max-width: 520px;
	padding: 80px 0;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy p,
.hero-copy .btn{
	opacity: 0;
	animation: fadeInUp .7s var(--ease) forwards;
}
.hero-copy .eyebrow{ animation-delay: .05s; margin-bottom: 18px; }
.hero-copy h1{ animation-delay: .15s; }
.hero-copy p{ animation-delay: .28s; }
.hero-copy .btn{ animation-delay: .4s; }

@keyframes fadeInUp{
	from{ opacity: 0; transform: translateY(18px); }
	to{ opacity: 1; transform: translateY(0); }
}

.hero-copy h1{
	font-size: 44px;
	line-height: 1.18;
	font-weight: 800;
	color: var(--blue-accent);
	margin: 0 0 22px;
}

/* Product/brand name reads in the accent colour, the descriptive
   headline that follows stays navy - matches the reference UI. */
.hero-copy h1 .brand-name{
	display: block;
	color: var(--orange);
}

.hero-copy p{
	color: var(--text-dim);
	font-size: 16.5px;
	margin: 0 0 32px;
}



/* Thin decorative progress rail across the bottom of the hero,
   with a single dot marker - a nod to a slide/carousel indicator. */
.hero-progress{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: rgba(10, 19, 48, 0.08);
	z-index: 2;
}
.hero-progress .dot{
	position: absolute;
	top: 50%;
	left: 92%;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--dark-navy-1);
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 4px rgba(10, 19, 48, 0.08);
}

/* -----------------------------------------
   3. What we do
----------------------------------------- */
.what-we-do{
	padding: 88px 0 0;
	background: var(--bg);
}

.wwd-body{
	background: var(--blue-soft);
	padding: 80px 0;
	margin-top: 48px;
}

.wwd-grid{
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 56px;
	align-items: center;
}

.wwd-cards{
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.feature-card{
	background: var(--surface);
	border-radius: var(--radius);
	padding: 32px 28px;
	box-shadow: var(--shadow-card);
	opacity: 1;
	transform: translateY(0);
	transition: opacity var(--transition-slow), transform var(--transition-slow), box-shadow var(--transition-base);
}

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

.feature-card.reveal{
	opacity: 0;
	transform: translateY(24px);
}
.feature-card.reveal.is-visible{
	opacity: 1;
	transform: translateY(0);
}
.feature-card.reveal.is-visible:hover{
	transform: translateY(-4px);
}

.feature-card .num{
	font-size: 22px;
	font-weight: 800;
	color: var(--blue-accent);
	text-align: center;
	margin-bottom: 10px;
	transition: color var(--transition-base);
}
.feature-card:hover .num{
	color: var(--orange);
}

.feature-card h3{
	font-size: 19px;
	font-weight: 800;
	color: var(--blue-accent);
	text-align: center;
	margin: 0 0 12px;
}

.feature-card p{
	text-align: center;
	color: var(--text-dim);
	font-size: 14.5px;
	margin: 0;
}

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

.phone-gallery img{
	width: 70%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.phone-gallery:hover img{
	transform: translateY(-4px);
	box-shadow: var(--shadow-card-hover);
}

.phone-gallery-fallback{
	width: 70%;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
	background: var(--blue-soft);
	border: 1px dashed var(--border-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-dim);
	font-size: 14px;
	text-align: center;
	padding: 24px;
}

/* -----------------------------------------
   4. Product intro band
----------------------------------------- */
.product-intro{
	text-align: center;
	padding: 88px 0 56px;
}

.product-intro h2{
	font-size: 36px;
	font-weight: 800;
	color: var(--blue-accent);
	margin: 0 0 14px;
}
.product-intro h2 .text-accent{ font-weight: 800; }

.product-intro h2::after{
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	background: var(--orange);
	border-radius: 2px;
	margin: 14px auto 22px;
}

.product-intro p{
	max-width: 820px;
	margin: 0 auto;
	color: var(--text-dim);
}

/* -----------------------------------------
   5. Features grid (6 cards)
----------------------------------------- */
.features-band{
	background: var(--blue-soft);
	padding: 88px 0;
}

.features-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.features-grid .card-1{
	background: var(--surface);
	border-radius: var(--radius);
	padding: 40px 28px;
	text-align: center;
	box-shadow: var(--shadow-card);
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.features-grid .card-1:hover{
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
}

.features-grid .icon{
	width: 56px;
	height: 56px;
	margin: 0 auto 20px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--blue-soft);
	color: var(--orange);
	transition: transform var(--transition-base), background var(--transition-base);
}

.features-grid .card-1:hover .icon{
	transform: scale(1.1) rotate(-6deg);
	background: var(--orange);
	color: var(--white);
}

.features-grid .icon svg{ width: 26px; height: 26px; }

.features-grid h3{
	font-size: 18px;
	font-weight: 800;
	color: var(--blue-accent);
	margin: 0 0 10px;
}

.features-grid p{
	color: var(--text-dim);
	font-size: 14.5px;
	margin: 0;
}

/* -----------------------------------------
   7. Responsive
----------------------------------------- */
@media (max-width: 960px){
	.hero{ min-height: 0; }
	.hero-shape{ display: none; }
	.hero-bg-img{ opacity: .16; }
	.hero-copy{ max-width: 100%; }
	.wwd-grid{ grid-template-columns: 1fr; }
	.footer-grid{ grid-template-columns: 1fr 1fr; }
	.features-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
	.main-nav{ display: none; }
	.nav-toggle{ display: block; }
	.site-header.nav-open .main-nav{
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 78px;
		left: 24px;
		right: 24px;
		border-radius: 16px;
	}

	/* Hero: text only, no background image on phones */
	.hero{
		background: #fff !important; /* overrides the inline background url() */
	}
	.hero-copy{
		padding: 48px 24px;
	}
	.hero-copy h1{ font-size: 32px; }

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

@media (prefers-reduced-motion: reduce){
	*,
	*::before,
	*::after{
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
	.hero-copy .eyebrow,
	.hero-copy h1,
	.hero-copy p,
	.hero-copy .btn{
		opacity: 1;
	}
}