/* ==========================================================================
   WebCircleZ Agency Premium — global UI & animation layer
   Brand: cyan #00c2e5 · navy #0a1628 · white · gray
   ========================================================================== */

:root {
	--wcz-agency-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--wcz-agency-glow: 0 0 40px rgba(0, 194, 229, 0.35);
	--wcz-agency-lift: translateY(-6px);
}

/* --------------------------------------------------------------------------
   Page load transition
   -------------------------------------------------------------------------- */
.wcz-page-loader {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, #0a1628 0%, #0f2744 50%, #0a1628 100%);
	transition: opacity 0.55s var(--wcz-agency-ease), visibility 0.55s;
}

.wcz-page-loader.is-done {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.wcz-page-loader-inner {
	text-align: center;
}

.wcz-page-loader-ring {
	width: 48px;
	height: 48px;
	margin: 0 auto 16px;
	border-radius: 50%;
	border: 2px solid rgba(0, 194, 229, 0.2);
	border-top-color: #00c2e5;
	animation: wcz-agency-spin 0.85s linear infinite;
}

.wcz-page-loader-text {
	font-family: var(--wcz-font-display);
	font-size: var(--wcz-text-xs);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

@keyframes wcz-agency-spin {
	to { transform: rotate(360deg); }
}

body:not(.wcz-loaded) .wcz-main {
	opacity: 0;
}

body.wcz-loaded .wcz-main {
	opacity: 1;
	transition: opacity 0.5s var(--wcz-agency-ease) 0.1s;
}

/* --------------------------------------------------------------------------
   Buttons — gradient glow, shine, lift
   -------------------------------------------------------------------------- */
.wcz-btn {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	transition:
		transform 0.35s var(--wcz-agency-ease),
		box-shadow 0.35s var(--wcz-agency-ease),
		border-color 0.35s ease,
		color 0.35s ease,
		background 0.35s ease;
}

.wcz-btn-primary {
	background: linear-gradient(135deg, #00d4f0 0%, #00c2e5 45%, #0099b8 100%);
	box-shadow: 0 4px 20px rgba(0, 194, 229, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wcz-btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 194, 229, 0.45), 0 0 24px rgba(0, 194, 229, 0.2);
	color: #fff;
}

.wcz-btn-outline {
	border: 1.5px solid rgba(0, 194, 229, 0.55);
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(8px);
}

.wcz-btn-outline:hover {
	border-color: #00c2e5;
	background: rgba(0, 194, 229, 0.08);
	box-shadow: 0 8px 24px rgba(0, 194, 229, 0.15);
	transform: translateY(-2px);
	color: var(--wcz-primary-dark);
}

.wcz-btn-ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	transform: scale(0);
	animation: wcz-btn-ripple 0.65s ease-out forwards;
	pointer-events: none;
}

@keyframes wcz-btn-ripple {
	to {
		transform: scale(4);
		opacity: 0;
	}
}

.wcz-btn.is-loading {
	pointer-events: none;
	opacity: 0.85;
}

.wcz-btn.is-loading::after {
	content: '';
	width: 16px;
	height: 16px;
	margin-left: 8px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: wcz-agency-spin 0.7s linear infinite;
}

/* --------------------------------------------------------------------------
   Navbar — bottom line indicator (centered under each link)
   -------------------------------------------------------------------------- */
.wcz-nav-list > li > a {
	position: relative;
	overflow: visible;
	transition: color 0.25s ease;
}

.wcz-nav-list > li > a::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 6px;
	height: 2px;
	width: auto;
	background: #00c2e5;
	border-radius: 2px;
	box-shadow: 0 0 10px rgba(0, 194, 229, 0.55);
	transform: scaleX(0);
	transform-origin: center bottom;
	transition: transform 0.35s var(--wcz-agency-ease);
}

.wcz-nav-list > li > a:hover::after,
.wcz-nav-list > li.current-menu-item > a::after,
.wcz-nav-list > li.current_page_item > a::after,
.wcz-nav-list > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.wcz-transparent-header .wcz-header:not(.is-scrolled) .wcz-nav-list > li > a:hover {
	color: #00c2e5;
	text-shadow: none;
}

.wcz-logo {
	transition: transform 0.35s var(--wcz-agency-ease), filter 0.35s ease;
}

.wcz-logo:hover {
	transform: scale(1.03);
	filter: drop-shadow(0 0 12px rgba(0, 194, 229, 0.35));
}

/* --------------------------------------------------------------------------
   Cards — lift, border glow, shine
   -------------------------------------------------------------------------- */
.wcz-service-card,
.wcz-service-live-card,
.wcz-pricing-card,
.wcz-pricing-ecom-card,
.wcz-pricing-live-card:not(.featured),
.wcz-quick-card,
.wcz-feature-showcase,
.wcz-hero-pillar,
.wcz-hero-live-item,
.wcz-testimonial-card,
.wcz-service-live-offer-card,
.wcz-process-icons-item,
.wcz-review-live-card,
.wcz-premium-service-card {
	transition:
		transform 0.45s var(--wcz-agency-ease),
		box-shadow 0.45s var(--wcz-agency-ease),
		border-color 0.35s ease;
}

@media (hover: hover) {
	.wcz-service-card:hover,
	.wcz-service-live-card:hover,
	.wcz-pricing-card:hover,
	.wcz-pricing-ecom-card:hover,
	.wcz-quick-card:hover,
	.wcz-feature-showcase:hover,
	.wcz-hero-pillar:hover,
	.wcz-hero-live-item:hover,
	.wcz-testimonial-card:hover,
	.wcz-service-live-offer-card:hover,
	.wcz-review-live-card:hover,
	.wcz-premium-service-card:hover {
		transform: var(--wcz-agency-lift);
		box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 194, 229, 0.12);
	}

	.wcz-pricing-live-card.featured:hover {
		transform: translateY(-4px);
		box-shadow: 0 16px 40px rgba(197, 220, 58, 0.3);
	}
}

.wcz-service-card,
.wcz-service-live-card,
.wcz-pricing-ecom-card,
.wcz-quick-card,
.wcz-premium-service-card {
	border-radius: 12px;
}

.wcz-service-card.is-shining::before,
.wcz-service-live-card.is-shining::before,
.wcz-pricing-ecom-card.is-shining::before,
.wcz-quick-card.is-shining::before,
.wcz-premium-service-card.is-shining::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(
		400px circle at var(--wcz-shine-x, 50%) var(--wcz-shine-y, 50%),
		rgba(0, 194, 229, 0.12) 0%,
		transparent 55%
	);
	pointer-events: none;
	opacity: 1;
}

.wcz-service-card,
.wcz-service-live-card,
.wcz-pricing-ecom-card,
.wcz-quick-card,
.wcz-premium-service-card {
	position: relative;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Section reveal
   -------------------------------------------------------------------------- */
.wcz-section-agency-reveal {
	opacity: 0;
	transform: translateY(32px);
	transition:
		opacity 0.8s var(--wcz-agency-ease),
		transform 0.8s var(--wcz-agency-ease);
}

.wcz-section-agency-reveal.is-inview {
	opacity: 1;
	transform: none;
}

.wcz-section-header,
.wcz-max-title {
	transition: opacity 0.7s var(--wcz-agency-ease), transform 0.7s var(--wcz-agency-ease);
}

/* --------------------------------------------------------------------------
   Page hero — floating FX layer
   -------------------------------------------------------------------------- */
.wcz-page-hero-banner {
	overflow: hidden;
}

.wcz-page-hero-fx {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}

.wcz-page-hero-fx-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.45;
	animation: wcz-hero-fx-float 12s ease-in-out infinite alternate;
}

.wcz-page-hero-fx-orb--1 {
	width: 280px;
	height: 280px;
	top: -60px;
	right: 10%;
	background: rgba(0, 194, 229, 0.35);
}

.wcz-page-hero-fx-orb--2 {
	width: 200px;
	height: 200px;
	bottom: -40px;
	left: 8%;
	background: rgba(0, 153, 184, 0.3);
	animation-delay: -4s;
}

.wcz-page-hero-fx-line {
	position: absolute;
	top: 20%;
	left: -10%;
	width: 120%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(0, 194, 229, 0.25), transparent);
	transform: rotate(-8deg);
	animation: wcz-hero-fx-line 8s ease-in-out infinite alternate;
}

.wcz-page-hero-fx-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(0, 194, 229, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 194, 229, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 20%, transparent 75%);
	opacity: 0.6;
}

@keyframes wcz-hero-fx-float {
	0% { transform: translate(0, 0) scale(1); }
	100% { transform: translate(20px, -16px) scale(1.08); }
}

@keyframes wcz-hero-fx-line {
	0% { opacity: 0.3; transform: rotate(-8deg) translateX(-2%); }
	100% { opacity: 0.7; transform: rotate(-8deg) translateX(2%); }
}

.wcz-page-hero-banner-content {
	position: relative;
	z-index: 2;
}

.wcz-page-hero-banner-title {
	animation: wcz-hero-title-in 0.9s var(--wcz-agency-ease) 0.15s both;
}

@keyframes wcz-hero-title-in {
	from {
		opacity: 0;
		transform: translateY(24px);
		filter: blur(6px);
	}
	to {
		opacity: 1;
		transform: none;
		filter: none;
	}
}

/* --------------------------------------------------------------------------
   Images — subtle zoom on hover
   -------------------------------------------------------------------------- */
.wcz-service-live-photo,
.wcz-service-live-card-img,
.wcz-portfolio-card-image img,
.wcz-works-slide img {
	transition: transform 0.6s var(--wcz-agency-ease);
}

.wcz-service-live-intro-visual:hover .wcz-service-live-photo,
.wcz-service-live-split-visual:hover .wcz-service-live-photo,
.wcz-portfolio-card:hover .wcz-portfolio-card-image img,
.wcz-works-slide:hover img {
	transform: scale(1.04);
}

.wcz-service-live-intro-visual,
.wcz-service-live-split-visual,
.wcz-portfolio-card-image {
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Forms — modern focus & submit
   -------------------------------------------------------------------------- */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select,
.wcz-form input,
.wcz-form textarea,
.wcz-form select {
	border-radius: 8px;
	transition:
		border-color 0.3s ease,
		box-shadow 0.3s ease,
		transform 0.25s ease,
		background 0.25s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus,
.wcz-form input:focus,
.wcz-form textarea:focus {
	transform: translateY(-1px);
	box-shadow: 0 0 0 3px rgba(0, 194, 229, 0.15), 0 8px 24px rgba(0, 194, 229, 0.08);
	border-color: #00c2e5;
}

.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"],
.wcz-form [type="submit"] {
	position: relative;
	overflow: hidden;
	border-radius: 100px;
	background: linear-gradient(135deg, #00d4f0 0%, #00c2e5 50%, #0099b8 100%);
	box-shadow: 0 6px 20px rgba(0, 194, 229, 0.35);
	transition: transform 0.35s var(--wcz-agency-ease), box-shadow 0.35s ease;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 194, 229, 0.45);
}

/* --------------------------------------------------------------------------
   Footer links
   -------------------------------------------------------------------------- */
.wcz-footer-live-links a,
.wcz-footer-live-text a {
	position: relative;
	transition: color 0.25s ease, padding-left 0.25s var(--wcz-agency-ease);
}

.wcz-footer-live-links a:hover {
	color: #00c2e5;
	padding-left: 4px;
}

/* --------------------------------------------------------------------------
   Pricing & CTA buttons
   -------------------------------------------------------------------------- */
.wcz-pricing-ecom-btn,
.wcz-pricing-live-btn {
	transition:
		transform 0.35s var(--wcz-agency-ease),
		box-shadow 0.35s ease,
		background 0.35s ease,
		color 0.35s ease;
}

.wcz-pricing-ecom-btn:hover,
.wcz-pricing-live-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 194, 229, 0.25);
}

/* --------------------------------------------------------------------------
   Ambient background enhancement
   -------------------------------------------------------------------------- */
.wcz-ambient-orb {
	animation: wcz-ambient-drift 18s ease-in-out infinite alternate;
}

.wcz-ambient-orb-2 {
	animation-delay: -6s;
}

@keyframes wcz-ambient-drift {
	0% { transform: translate(0, 0); }
	100% { transform: translate(30px, -20px); }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.wcz-page-loader,
	.wcz-page-hero-fx-orb,
	.wcz-page-hero-fx-line,
	.wcz-ambient-orb,
	.wcz-section-agency-reveal {
		animation: none !important;
		transition: none !important;
	}

	.wcz-section-agency-reveal {
		opacity: 1;
		transform: none;
	}

	body:not(.wcz-loaded) .wcz-main {
		opacity: 1;
	}
}
