/* =============================================================
   Internet Technology Services — Front Page Styles
   Parallax hero inspired by ViceTemple.com layered depth effect
   ============================================================= */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
	--its-deep:    #060c18;
	--its-dark:    #0a0f1e;
	--its-navy:    #0d1b2a;
	--its-accent:  #00d4ff;
	--its-purple:  #7c3aed;
	--its-white:   #f0f6ff;
	--its-muted:   #8898aa;
	--its-border:  rgba(0,212,255,.15);
	--its-font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--its-mono:    'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

/* ── Reset for page ──────────────────────────────────────────── */
#its-frontpage {
	background: var(--its-dark);
	color: var(--its-white);
	font-family: var(--its-font);
	overflow-x: hidden;
}

/* ── Shared Utilities ───────────────────────────────────────── */
.its-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.its-section {
	padding: 100px 0;
}

.its-section__eyebrow {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--its-accent);
	margin: 0 0 16px;
}

.its-section__title {
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--its-white);
	margin: 0 0 24px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.its-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 50px;
	font-size: .95rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
	cursor: pointer;
}

.its-btn--primary {
	background: linear-gradient(135deg, var(--its-accent), var(--its-purple));
	color: #fff;
	box-shadow: 0 4px 24px rgba(0,212,255,.3);
}

.its-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(0,212,255,.45);
	color: #fff;
}

.its-btn--ghost {
	background: transparent;
	color: var(--its-accent);
	border: 2px solid var(--its-accent);
}

.its-btn--ghost:hover {
	background: rgba(0,212,255,.1);
	transform: translateY(-2px);
	color: var(--its-accent);
}

.its-btn--full {
	width: 100%;
	justify-content: center;
}

/* =============================================================
   HERO SECTION
   ============================================================= */
.its-hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--its-deep);
}

/* ── Parallax Scene Container ──────────────────────────────── */
.its-parallax-scene {
	position: absolute;
	inset: -60px;          /* extra bleed so layers don't clip on mouse move */
	pointer-events: none;
	will-change: transform;
}

/* ── Generic Layer ──────────────────────────────────────────── */
.its-layer {
	position: absolute;
	inset: 0;
	will-change: transform;
	transition: transform .08s linear;
}

/* ── Layer: Deep BG ─────────────────────────────────────────── */
.its-layer--bg {
	background: radial-gradient(ellipse 120% 80% at 50% 40%,
		#0f2545 0%,
		#060c18 70%);
}

.its-bg-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
	background-size: 60px 60px;
}

/* ── Layer: Particles ───────────────────────────────────────── */
.its-layer--particles {
	overflow: hidden;
}

.its-particle {
	position: absolute;
	border-radius: 50%;
	animation: its-float linear infinite;
	opacity: 0;
}

/* Generate varied particles via nth-child */
.its-particle:nth-child(odd)  { background: var(--its-accent);  }
.its-particle:nth-child(even) { background: var(--its-purple);  }
.its-particle:nth-child(3n)   { background: rgba(255,255,255,.6); }

/* Position & size scatter */
.its-particle--1  { width:4px;  height:4px;  top:15%; left:8%;  animation-duration:12s; animation-delay:0s;    opacity:.7; }
.its-particle--2  { width:3px;  height:3px;  top:25%; left:18%; animation-duration:9s;  animation-delay:-3s;   opacity:.5; }
.its-particle--3  { width:5px;  height:5px;  top:35%; left:32%; animation-duration:14s; animation-delay:-6s;   opacity:.6; }
.its-particle--4  { width:3px;  height:3px;  top:55%; left:45%; animation-duration:10s; animation-delay:-1s;   opacity:.4; }
.its-particle--5  { width:6px;  height:6px;  top:70%; left:58%; animation-duration:16s; animation-delay:-5s;   opacity:.7; }
.its-particle--6  { width:4px;  height:4px;  top:20%; left:70%; animation-duration:11s; animation-delay:-2s;   opacity:.5; }
.its-particle--7  { width:3px;  height:3px;  top:80%; left:80%; animation-duration:13s; animation-delay:-4s;   opacity:.6; }
.its-particle--8  { width:5px;  height:5px;  top:10%; left:90%; animation-duration:8s;  animation-delay:-7s;   opacity:.4; }
.its-particle--9  { width:3px;  height:3px;  top:45%; left:5%;  animation-duration:15s; animation-delay:-3.5s; opacity:.5; }
.its-particle--10 { width:4px;  height:4px;  top:60%; left:22%; animation-duration:10s; animation-delay:-1.5s; opacity:.7; }
.its-particle--11 { width:3px;  height:3px;  top:40%; left:38%; animation-duration:12s; animation-delay:-2.5s; opacity:.4; }
.its-particle--12 { width:6px;  height:6px;  top:15%; left:55%; animation-duration:17s; animation-delay:-6.5s; opacity:.6; }
.its-particle--13 { width:3px;  height:3px;  top:72%; left:67%; animation-duration:9s;  animation-delay:-0.5s; opacity:.5; }
.its-particle--14 { width:5px;  height:5px;  top:30%; left:78%; animation-duration:14s; animation-delay:-4.5s; opacity:.7; }
.its-particle--15 { width:4px;  height:4px;  top:85%; left:92%; animation-duration:11s; animation-delay:-2s;   opacity:.4; }
.its-particle--16 { width:3px;  height:3px;  top:5%;  left:12%; animation-duration:10s; animation-delay:-3s;   opacity:.6; }
.its-particle--17 { width:5px;  height:5px;  top:50%; left:28%; animation-duration:13s; animation-delay:-5s;   opacity:.5; }
.its-particle--18 { width:4px;  height:4px;  top:65%; left:42%; animation-duration:16s; animation-delay:-1s;   opacity:.7; }
.its-particle--19 { width:3px;  height:3px;  top:22%; left:60%; animation-duration:8s;  animation-delay:-4s;   opacity:.4; }
.its-particle--20 { width:6px;  height:6px;  top:78%; left:75%; animation-duration:15s; animation-delay:-6s;   opacity:.6; }
.its-particle--21 { width:4px;  height:4px;  top:12%; left:85%; animation-duration:12s; animation-delay:-2.5s; opacity:.5; }
.its-particle--22 { width:3px;  height:3px;  top:88%; left:3%;  animation-duration:9s;  animation-delay:-3.5s; opacity:.7; }
.its-particle--23 { width:5px;  height:5px;  top:42%; left:15%; animation-duration:14s; animation-delay:-0s;   opacity:.4; }
.its-particle--24 { width:3px;  height:3px;  top:58%; left:50%; animation-duration:11s; animation-delay:-5.5s; opacity:.6; }
.its-particle--25 { width:4px;  height:4px;  top:32%; left:64%; animation-duration:10s; animation-delay:-1.5s; opacity:.5; }
.its-particle--26 { width:6px;  height:6px;  top:75%; left:35%; animation-duration:16s; animation-delay:-4s;   opacity:.7; }
.its-particle--27 { width:3px;  height:3px;  top:18%; left:48%; animation-duration:13s; animation-delay:-2s;   opacity:.4; }
.its-particle--28 { width:5px;  height:5px;  top:95%; left:20%; animation-duration:12s; animation-delay:-6s;   opacity:.5; }
.its-particle--29 { width:4px;  height:4px;  top:48%; left:88%; animation-duration:9s;  animation-delay:-3s;   opacity:.6; }
.its-particle--30 { width:3px;  height:3px;  top:62%; left:95%; animation-duration:15s; animation-delay:-1s;   opacity:.7; }

@keyframes its-float {
	0%   { transform: translateY(0)   scale(1);   }
	50%  { transform: translateY(-30px) scale(1.2); }
	100% { transform: translateY(0)   scale(1);   }
}

/* ── Layer: Cityscape ───────────────────────────────────────── */
.its-layer--cityscape {
	display: flex;
	align-items: flex-end;
}

.its-cityscape-svg {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 -4px 30px rgba(0,212,255,.15));
}

/* ── Layer: Code blocks ─────────────────────────────────────── */
.its-layer--code {
	overflow: hidden;
}

.its-code-block {
	position: absolute;
	background: rgba(13,27,42,.7);
	border: 1px solid var(--its-border);
	border-radius: 8px;
	padding: 10px 16px;
	font-family: var(--its-mono);
	font-size: .78rem;
	line-height: 1.4;
	color: var(--its-white);
	backdrop-filter: blur(4px);
	white-space: nowrap;
	animation: its-code-float ease-in-out infinite;
}

.its-code-block pre { margin: 0; }

.its-kw   { color: var(--its-purple); }
.its-fn   { color: var(--its-accent); }
.its-str  { color: #f59e0b; }

.its-code-block--1 { top: 18%; left: 5%;  animation-duration: 8s;  animation-delay: 0s;   }
.its-code-block--2 { top: 30%; right: 6%; animation-duration: 10s; animation-delay: -3s;  }
.its-code-block--3 { top: 60%; left: 7%;  animation-duration: 9s;  animation-delay: -5s;  }
.its-code-block--4 { top: 72%; right: 8%; animation-duration: 7s;  animation-delay: -1.5s;}

@keyframes its-code-float {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-14px); }
}

/* ── Layer: Circuit ─────────────────────────────────────────── */
.its-layer--circuit {
	overflow: hidden;
}

.its-circuit-svg {
	width: 100%;
	height: 100%;
}

/* ── Layer: Orbs ────────────────────────────────────────────── */
.its-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	animation: its-pulse ease-in-out infinite;
}

.its-orb--1 {
	width: 500px; height: 500px;
	top: -10%; left: -10%;
	background: radial-gradient(circle, rgba(0,212,255,.18) 0%, transparent 70%);
	animation-duration: 8s;
}

.its-orb--2 {
	width: 600px; height: 600px;
	bottom: -20%; right: -10%;
	background: radial-gradient(circle, rgba(124,58,237,.2) 0%, transparent 70%);
	animation-duration: 12s;
	animation-delay: -4s;
}

.its-orb--3 {
	width: 300px; height: 300px;
	top: 40%; left: 40%;
	background: radial-gradient(circle, rgba(0,212,255,.1) 0%, transparent 70%);
	animation-duration: 10s;
	animation-delay: -2s;
}

@keyframes its-pulse {
	0%, 100% { transform: scale(1);    opacity: .8; }
	50%       { transform: scale(1.15); opacity: 1; }
}

/* ── Hero Content ───────────────────────────────────────────── */
.its-hero__content {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 1200px;
	padding: 0 24px;
}

.its-hero__inner {
	max-width: 700px;
}

.its-hero__eyebrow {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--its-accent);
	margin: 0 0 20px;
}

.its-hero__title {
	font-size: clamp(2.4rem, 6vw, 5rem);
	font-weight: 900;
	line-height: 1.08;
	color: var(--its-white);
	margin: 0 0 28px;
}

/* Word cycling animation */
.its-hero__title-cycle {
	display: inline-block;
	position: relative;
	color: transparent;
	-webkit-text-stroke: 2px var(--its-accent);
}

.its-word {
	position: absolute;
	left: 0;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity .4s ease, transform .4s ease;
	color: transparent;
	-webkit-text-stroke: 2px var(--its-accent);
}

.its-word--active {
	opacity: 1;
	transform: translateY(0);
	position: relative;
}

.its-hero__sub {
	font-size: 1.1rem;
	line-height: 1.7;
	color: var(--its-muted);
	margin: 0 0 36px;
	max-width: 580px;
}

.its-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 40px;
}

.its-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: .82rem;
	font-weight: 600;
	color: var(--its-muted);
}

.its-hero__trust span::before {
	content: '';
}

/* ── Scroll Hint ────────────────────────────────────────────── */
.its-hero__scroll-hint {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	animation: its-hint-fade 2s ease-in-out .5s forwards;
	opacity: 0;
}

.its-hero__scroll-hint span {
	display: block;
	width: 24px;
	height: 38px;
	border: 2px solid rgba(0,212,255,.4);
	border-radius: 12px;
	position: relative;
}

.its-hero__scroll-hint span::after {
	content: '';
	position: absolute;
	top: 5px;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 8px;
	background: var(--its-accent);
	border-radius: 2px;
	animation: its-scroll-dot 1.5s ease-in-out infinite;
}

.its-hero__scroll-hint p {
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: rgba(0,212,255,.5);
	margin: 0;
}

@keyframes its-scroll-dot {
	0%   { top: 5px;  opacity: 1; }
	100% { top: 18px; opacity: 0; }
}

@keyframes its-hint-fade {
	to { opacity: 1; }
}

/* =============================================================
   SERVICES SECTION
   ============================================================= */
.its-services {
	background: var(--its-dark);
	text-align: center;
}

.its-services .its-section__eyebrow,
.its-services .its-section__title {
	text-align: center;
}

.its-services__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin-top: 56px;
}

.its-service-card {
	background: rgba(255,255,255,.03);
	border: 1px solid var(--its-border);
	border-radius: 16px;
	padding: 36px 28px;
	text-align: left;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
	position: relative;
	overflow: hidden;
}

.its-service-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(0,212,255,.06) 0%, transparent 60%);
	opacity: 0;
	transition: opacity .3s ease;
}

.its-service-card:hover {
	transform: translateY(-6px);
	border-color: rgba(0,212,255,.4);
	box-shadow: 0 12px 40px rgba(0,212,255,.1);
}

.its-service-card:hover::before {
	opacity: 1;
}

.its-service-card__icon {
	width: 52px;
	height: 52px;
	color: var(--its-accent);
	margin-bottom: 20px;
}

.its-service-card__icon svg {
	width: 100%;
	height: 100%;
}

.its-service-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--its-white);
	margin: 0 0 12px;
}

.its-service-card__desc {
	font-size: .9rem;
	line-height: 1.65;
	color: var(--its-muted);
	margin: 0 0 20px;
}

.its-service-card__link {
	font-size: .85rem;
	font-weight: 700;
	color: var(--its-accent);
	text-decoration: none;
	transition: gap .2s;
}

.its-service-card__link:hover {
	color: var(--its-accent);
	text-decoration: underline;
}

/* =============================================================
   ABOUT SECTION
   ============================================================= */
.its-about {
	background: linear-gradient(180deg, var(--its-dark) 0%, var(--its-navy) 100%);
}

.its-about__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.its-about__visual {
	position: relative;
}

.its-about__illustration {
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.its-about__badge {
	position: absolute;
	top: -16px;
	right: -16px;
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, var(--its-accent), var(--its-purple));
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-shadow: 0 8px 32px rgba(0,212,255,.4);
	z-index: 2;
}

.its-about__badge-num {
	font-size: 1.6rem;
	font-weight: 900;
	color: #fff;
	line-height: 1;
}

.its-about__badge-num sup {
	font-size: .8rem;
}

.its-about__badge-label {
	font-size: .58rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255,255,255,.85);
}

.its-about__text {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--its-muted);
	margin: 0 0 28px;
}

.its-about__list {
	list-style: none;
	margin: 0 0 36px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.its-about__list li {
	font-size: .95rem;
	color: var(--its-white);
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.its-check {
	color: var(--its-accent);
	font-weight: 900;
	flex-shrink: 0;
	margin-top: 1px;
}

/* =============================================================
   STATS STRIP
   ============================================================= */
.its-stats {
	background: linear-gradient(135deg, rgba(0,212,255,.08) 0%, rgba(124,58,237,.08) 100%);
	border-top: 1px solid var(--its-border);
	border-bottom: 1px solid var(--its-border);
	padding: 60px 0;
}

.its-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}

.its-stat__num {
	display: block;
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	font-weight: 900;
	background: linear-gradient(135deg, var(--its-accent), var(--its-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1;
}

.its-stat__unit {
	font-size: 1.8rem;
	font-weight: 900;
	background: linear-gradient(135deg, var(--its-accent), var(--its-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.its-stat__label {
	display: block;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--its-muted);
	margin-top: 8px;
}

/* =============================================================
   PROCESS SECTION
   ============================================================= */
.its-process {
	background: var(--its-navy);
	text-align: center;
}

.its-process .its-section__eyebrow,
.its-process .its-section__title {
	text-align: center;
}

.its-process__steps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 0;
	margin-top: 60px;
	flex-wrap: wrap;
}

.its-step {
	flex: 1;
	min-width: 180px;
	max-width: 240px;
	padding: 32px 16px;
	position: relative;
}

.its-step__num {
	font-size: 3rem;
	font-weight: 900;
	background: linear-gradient(135deg, var(--its-accent), var(--its-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	line-height: 1;
	margin-bottom: 16px;
}

.its-step__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--its-white);
	margin: 0 0 10px;
}

.its-step__desc {
	font-size: .85rem;
	line-height: 1.65;
	color: var(--its-muted);
	margin: 0;
}

.its-step__connector {
	flex: 0 0 60px;
	height: 2px;
	background: linear-gradient(90deg, var(--its-accent), var(--its-purple));
	opacity: .3;
	align-self: 120px;
	margin-top: 68px;
}

/* =============================================================
   CONTACT SECTION
   ============================================================= */
.its-contact {
	background: var(--its-deep);
}

.its-contact__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.its-contact__sub {
	font-size: .95rem;
	line-height: 1.7;
	color: var(--its-muted);
	margin: 0 0 32px;
}

.its-contact__details {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: .9rem;
	color: var(--its-muted);
}

.its-contact__details a {
	color: var(--its-accent);
	text-decoration: none;
}

.its-contact__details a:hover {
	text-decoration: underline;
}

/* ── Form ───────────────────────────────────────────────────── */
.its-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.its-form__row {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.its-form__label {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--its-muted);
}

.its-form__input {
	background: rgba(255,255,255,.04);
	border: 1px solid var(--its-border);
	border-radius: 10px;
	padding: 14px 18px;
	font-size: .95rem;
	color: var(--its-white);
	font-family: var(--its-font);
	transition: border-color .2s ease, box-shadow .2s ease;
	width: 100%;
	box-sizing: border-box;
	outline: none;
}

.its-form__input:focus {
	border-color: var(--its-accent);
	box-shadow: 0 0 0 3px rgba(0,212,255,.15);
}

.its-form__input::placeholder {
	color: rgba(136,152,170,.5);
}

.its-form__textarea {
	resize: vertical;
	min-height: 130px;
}

.its-form__notice {
	font-size: .85rem;
	color: var(--its-accent);
	min-height: 1.2em;
	margin: 0;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
	.its-about__grid,
	.its-contact__inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.its-about__visual {
		order: -1;
	}

	.its-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.its-process__steps {
		flex-direction: column;
		align-items: center;
	}

	.its-step__connector {
		width: 2px;
		height: 40px;
		flex: 0 0 40px;
		margin: 0;
		align-self: auto;
		background: linear-gradient(180deg, var(--its-accent), var(--its-purple));
	}
}

@media (max-width: 600px) {
	.its-section {
		padding: 64px 0;
	}

	.its-hero__ctas {
		flex-direction: column;
	}

	.its-btn {
		justify-content: center;
	}

	.its-stats__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.its-services__grid {
		grid-template-columns: 1fr;
	}

	.its-hero__trust {
		gap: 12px;
	}

	.its-code-block--2,
	.its-code-block--4 {
		display: none;
	}
}

/* =============================================================
   ACCESSIBILITY: Reduce Motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
	.its-layer,
	.its-orb,
	.its-particle,
	.its-code-block,
	.its-hero__scroll-hint span::after {
		animation: none !important;
		transition: none !important;
	}

	.its-parallax-scene {
		inset: 0;
	}
}
