/* AndroCare360 Front page: split from pages.css (Task 3). Loaded only on its page; shared rules live in shared.css. */

.hero-inner {
		position: relative; z-index: 1;
		max-width: 1100px; margin: 0 auto;
		display: grid; grid-template-columns: 1fr 1fr;
		gap: 4rem; align-items: center;
}

.hero-text { color: white;
}

.hero-text h1 .grad {
		background: linear-gradient(to left, #00B8A9, #a5f3ef);
		-webkit-background-clip: text; background-clip: text;
		-webkit-text-fill-color: transparent;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap;
}

.btn-hero-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.65);
}

.hero-image { position: relative;
}

.hero-image img {
		width: 100%; border-radius: 1.5rem;
		border: 3px solid rgba(255,255,255,0.12);
		box-shadow: 0 30px 80px rgba(0,0,0,0.28);
		display: block;
		height: auto; /* width/height attributes reserve space; keep the fluid aspect ratio */
}

.hero-float {
		position: absolute; bottom: 1.5rem; left: 1.5rem;
		background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
		border-radius: 1rem; padding: 0.85rem 1.25rem;
		box-shadow: 0 8px 30px rgba(0,0,0,0.14);
		display: flex; align-items: center; gap: 0.75rem;
}

.float-icon {
		width: 42px; height: 42px; border-radius: 50%;
		background: #dcfce7; display: flex; align-items: center; justify-content: center;
}

.float-text strong { display: block; font-size: 0.875rem; font-weight: 800; color: #1e293b;
}

.stats-inner {
		max-width: 1100px; margin: 0 auto;
		display: grid; grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem;
		background: white;
		border-radius: 1.5rem;
		box-shadow: 0 16px 48px rgba(0,0,0,0.08);
		border: 1px solid var(--border);
		padding: 2rem 2.5rem;
		transform: translateY(-2rem);
}

.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem;
}

.stat-icon {
		width: 56px; height: 56px; border-radius: 1rem;
		display: flex; align-items: center; justify-content: center; margin-bottom: 0.4rem;
}

.stat-icon.purple { background: #faf5ff;
}

.stat-icon.orange { background: #fff7ed;
}

.stat-num { font-size: 1.5rem; font-weight: 900; color: var(--text); line-height: 1;
}

.stat-lbl { font-size: 0.875rem; color: var(--text-muted); font-weight: 600;
}

.sec-bar.blue   { background: var(--primary);
}

.sec-bar.orange { background: var(--cta);
}

.features-grid {
		max-width: 1100px; margin: 0 auto;
		display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}

.feat-card {
		background: white; border-radius: 1.25rem; padding: 2rem;
		border: 1px solid var(--border);
		transition: transform 0.25s, box-shadow 0.25s;
}

.feat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,102,204,0.1);
}

.feat-card-icon {
		width: 64px; height: 64px; border-radius: 1rem;
		background: rgba(0,184,169,0.1);
		display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
		transition: background 0.25s;
}

.feat-card:hover .feat-card-icon { background: var(--secondary);
}

.feat-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.75rem;
}

.spec-bg { background: white;
}

.spec-grid {
		max-width: 1100px; margin: 0 auto;
		display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}

.spec-card {
		display: flex; align-items: center; gap: 1rem;
		padding: 1.25rem 1.5rem;
		border-radius: 1.25rem;
		background: var(--bg); border: 1px solid var(--border);
		text-decoration: none;
		transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.spec-card:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px);
}

.spec-icon {
		width: 48px; height: 48px; border-radius: 50%;
		background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
		display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.spec-card h3 { font-size: 1rem; font-weight: 800; color: var(--text); transition: color 0.25s; margin: 0;
}

.spec-card:hover h3 { color: white;
}

.how-bg {
		background: #0f172a;
		position: relative; overflow: hidden;
}

.how-bg::before {
		content: ''; position: absolute;
		top: -120px; right: -120px;
		width: 400px; height: 400px;
		background: rgba(0,102,204,0.25); border-radius: 50%; filter: blur(80px);
}

.how-bg::after {
		content: ''; position: absolute;
		bottom: -120px; left: -120px;
		width: 400px; height: 400px;
		background: rgba(0,184,169,0.15); border-radius: 50%; filter: blur(80px);
}

.how-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
}

.steps-grid {
		display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
		position: relative;
}

.steps-grid::before {
		content: ''; position: absolute;
		top: 2.5rem; right: 12.5%; left: 12.5%;
		height: 2px;
		background: linear-gradient(to left, var(--cta), var(--secondary), var(--primary));
		opacity: 0.3;
}

.step-item { display: flex; flex-direction: column; align-items: center; text-align: center;
}

.step-circle {
		width: 80px; height: 80px; border-radius: 50%;
		background: #1e293b;
		display: flex; align-items: center; justify-content: center;
		margin-bottom: 1.5rem; position: relative; z-index: 1;
		box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.step-circle::before {
		content: ''; position: absolute; inset: 0; border-radius: 50%;
		background: linear-gradient(135deg, rgba(0,102,204,0.25), rgba(0,184,169,0.2));
}

.step-num {
		position: absolute; top: -6px; left: -6px;
		width: 28px; height: 28px; border-radius: 50%;
		background: var(--cta); color: white;
		font-size: 0.8rem; font-weight: 900;
		display: flex; align-items: center; justify-content: center;
		border: 2px solid #0f172a; z-index: 2;
}

.step-item h3 { font-size: 1.1rem; font-weight: 800; color: white; margin-bottom: 0.6rem;
}

.doctor-bg { background: var(--bg);
}

.doctor-text { padding: 4rem; display: flex; flex-direction: column; justify-content: center;
}

.doctor-tag {
		display: inline-block;
		background: rgba(0,102,204,0.08); color: var(--primary);
		font-size: 0.8rem; font-weight: 700;
		padding: 0.35rem 1rem; border-radius: 9999px; margin-bottom: 1.25rem;
		width: fit-content;
}

.doctor-feats { list-style: none; display: flex; flex-direction: column; gap: 1.25rem;
}

.doctor-feats li { display: flex; align-items: flex-start; gap: 1rem;
}

.df-icon {
		width: 40px; height: 40px; border-radius: 50%;
		background: rgba(0,102,204,0.08);
		display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.doctor-img-wrap {
		position: relative; overflow: hidden;
		background: linear-gradient(135deg, rgba(0,102,204,0.06), rgba(0,184,169,0.06));
}

.doctor-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block;
}

@media (max-width: 1024px) {
	.hero-inner { gap: 2.5rem;
	}
	.stats-inner { grid-template-columns: repeat(2, 1fr); padding: 2rem;
	}
	.features-grid { grid-template-columns: repeat(2, 1fr);
	}
	.spec-grid { grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.hero-inner { grid-template-columns: 1fr; align-items: center;
	}
	.hero-image { display: none;
	}
	.hero-text { text-align: center;
	}
	.hero-btns { justify-content: center;
	}
	.doctor-img-wrap { height: 280px;
	}
	.doctor-text { padding: 3rem 2.25rem;
	}
	.steps-grid { grid-template-columns: repeat(2, 1fr);
	}
	.steps-grid::before { display: none;
	}
}

@media (max-width: 640px) {
	.stats-inner {
		grid-template-columns: 1fr;
		padding: 1.5rem;
		transform: translateY(-1.5rem);
	}
	.spec-grid { grid-template-columns: 1fr;
	}
	.features-grid { grid-template-columns: 1fr;
	}
	.steps-grid { grid-template-columns: 1fr;
	}
	.hero-btns { flex-direction: column;
	}
	.spec-card { padding: 1rem 1.1rem;
	}
	.doctor-text { padding: 2rem 1.25rem;
	}
}
