/* Care4Web — modern homepage stylesheet */

:root{
	--blue: #0EA5E9;
	--blue-dark: #0284C7;
	--navy: #0F172A;
	--text: #334155;
	--text-light: #64748B;
	--bg: #F8FAFC;
	--white: #FFFFFF;
	--green: #16A34A;
	--border: #E2E8F0;
	--radius: 12px;
	--shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
	--shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

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

.container{
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

h1, h2, h3, h4{
	color: var(--navy);
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 16px;
}

h1{ font-size: 44px; }
h2{ font-size: 32px; }
h3{ font-size: 20px; }

p{ margin: 0 0 16px; }

a{ color: var(--blue-dark); text-decoration: none; }
a:hover{ text-decoration: underline; }

.accent{ color: var(--blue); }

ul{ margin: 0; padding: 0; list-style: none; }

img{ max-width: 100%; display: block; }

.btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	border: 2px solid transparent;
	text-decoration: none;
	transition: all 0.15s ease;
}
.btn:hover{ text-decoration: none; }
.btn-primary{
	background: var(--blue);
	color: var(--white);
}
.btn-primary:hover{ background: var(--blue-dark); }
.btn-outline{
	background: transparent;
	border-color: var(--navy);
	color: var(--navy);
}
.btn-outline:hover{ background: var(--navy); color: var(--white); }
.btn-outline-light{
	background: transparent;
	border-color: rgba(255,255,255,0.5);
	color: var(--white);
}
.btn-outline-light:hover{ background: var(--white); color: var(--navy); }
.btn-dark{
	background: var(--navy);
	color: var(--white);
	border-color: var(--navy);
}
.btn-dark:hover{ background: #1E293B; }
.btn-block{ width: 100%; }

/* ---------------- Header ---------------- */

.topbar{
	background: var(--navy);
	color: #CBD5E1;
	font-size: 13px;
}
.topbar .container{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 8px;
	padding-bottom: 8px;
}
.topbar a{ color: #CBD5E1; }
.topbar .topbar-links{ display: flex; gap: 20px; }

.site-header{
	position: sticky;
	top: 0;
	background: var(--white);
	border-bottom: 1px solid var(--border);
	z-index: 500;
}
.site-header .container{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 14px;
	padding-bottom: 14px;
}
.logo{ flex-shrink: 0; }
.main-nav{ flex: 1; min-width: 0; }
.header-cta{ flex-shrink: 0; }
.logo{
	display: flex;
	align-items: center;
	font-size: 24px;
	font-weight: 800;
	color: var(--navy);
}
.logo span{ color: var(--blue); }

.main-nav ul{ display: flex; align-items: center; gap: 28px; }
.main-nav .dropdown{ position: relative; }
.main-nav .dropdown-menu{
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: var(--shadow-lg);
	padding: 8px;
	min-width: 190px;
	flex-direction: column;
	gap: 0;
	z-index: 600;
}
.main-nav .dropdown:hover .dropdown-menu{ display: flex; }
.main-nav .dropdown-menu li{ width: 100%; }
.main-nav .dropdown-menu a{
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 14px;
	display: block;
}
.main-nav .dropdown-menu a:hover{ background: var(--bg); text-decoration: none; }
.main-nav .has-dropdown::after{
	content: '▾';
	display: inline-block;
	margin-left: 4px;
	font-size: 11px;
	color: var(--text-light);
}
.main-nav a{
	color: var(--navy);
	font-weight: 600;
	font-size: 15px;
}
.main-nav a:hover{ color: var(--blue); text-decoration: none; }

.header-cta{ display: flex; align-items: center; gap: 16px; }
.header-phone{
	font-weight: 700;
	color: var(--navy);
	font-size: 15px;
	white-space: nowrap;
}

.nav-toggle{
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}
.nav-toggle span{
	width: 26px;
	height: 3px;
	background: var(--navy);
	border-radius: 2px;
}

/* ---------------- Hero ---------------- */

.hero{
	background: linear-gradient(180deg, #F0F9FF 0%, var(--white) 100%);
	padding: 72px 0 56px;
}
.hero{ overflow: hidden; }
.hero .container{
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 32px;
	align-items: center;
}
.hero h1{ font-size: 48px; margin-bottom: 20px; }
.hero-sub{ font-size: 17px; color: var(--text-light); max-width: 540px; margin-bottom: 28px; }

.domain-search{
	display: flex;
	max-width: 480px;
	margin-bottom: 14px;
	box-shadow: var(--shadow);
	border-radius: 8px;
	overflow: hidden;
}
.domain-search input{
	flex: 1;
	border: 1px solid var(--border);
	border-right: none;
	padding: 0 16px;
	font-size: 15px;
	font-family: inherit;
	color: var(--text);
}
.domain-search .btn{
	border-radius: 0;
	white-space: nowrap;
}
.hero-price-note{
	font-size: 14px;
	color: var(--text-light);
	margin-bottom: 28px;
}
.hero-price-note strong{ color: var(--navy); font-size: 17px; }

.domain-results{
	max-width: 560px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 20px;
	margin-bottom: 20px;
}
.domain-results-heading{
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 12px;
	font-size: 15px;
}
.domain-results-list{ display: flex; flex-direction: column; gap: 10px; }
.domain-result-row{
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	background: var(--bg);
	border-radius: 8px;
	flex-wrap: wrap;
}
.domain-result-name{ font-weight: 700; color: var(--navy); flex: 1; min-width: 120px; font-size: 14px; }
.domain-badge{
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
}
.domain-badge-available{ background: #DCFCE7; color: #166534; }
.domain-badge-taken{ background: #FEE2E2; color: #991B1B; }
.domain-badge-unknown{ background: #F1F5F9; color: #64748B; }
.domain-result-price{ font-size: 13px; color: var(--text-light); white-space: nowrap; }
.domain-result-btn{ padding: 6px 14px; font-size: 13px; white-space: nowrap; }
.domain-results-note{ font-size: 12px; color: var(--text-light); margin-top: 14px; }
.domain-results-error{ color: #991B1B; margin-top: 0; }

.trust-strip{
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 13px;
	color: var(--text-light);
	font-weight: 600;
}
.trust-strip span{ display: inline-flex; align-items: center; gap: 6px; }

.hero-visual{
	position: relative;
}
.hero-visual img{
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
	display: block;
}

.check{
	color: var(--green);
	font-weight: 800;
	flex-shrink: 0;
}

.chat-fab{
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	box-shadow: var(--shadow-lg);
	z-index: 400;
	text-decoration: none;
}
.chat-fab:hover{ background: var(--blue); text-decoration: none; }

/* ---------------- Pricing cards ---------------- */

.section{ padding: 72px 0; }
.section-alt{ background: var(--bg); }
.section-head{ text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p{ color: var(--text-light); font-size: 16px; }

.plans-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.plan-card{
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 24px;
	box-shadow: var(--shadow);
	position: relative;
	display: flex;
	flex-direction: column;
}
.plan-card > .btn{ margin-top: auto; }
.plan-pill{
	display: block;
	text-align: center;
	margin-top: 14px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--blue-dark);
	background: #E0F2FE;
	border: 1px solid #BAE6FD;
	border-radius: 999px;
	padding: 5px 10px;
}
.guarantee-line{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
}
.plan-icon{
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #E0F2FE;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 16px;
}
.plan-card h3{ margin-bottom: 4px; }
.plan-card .plan-desc{ font-size: 13.5px; color: var(--text-light); margin-bottom: 16px; min-height: 40px; }
.plan-price{ font-size: 30px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.plan-price small{ font-size: 14px; font-weight: 600; color: var(--text-light); }
.plan-price-note{ font-size: 12.5px; color: var(--text-light); margin-bottom: 18px; }
.plan-card ul{ flex: 1; margin-bottom: 22px; }
.plan-card ul li{
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0;
	font-size: 13.5px;
	color: var(--text);
}

/* ---------------- Guarantee / custom banners ---------------- */

.banner{
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	box-shadow: var(--shadow);
}
.banner h3{ margin-bottom: 6px; }
.banner p{ margin: 0; color: var(--text-light); }
.banner-blue{
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
	color: var(--white);
}
.banner-blue h3, .banner-blue p{ color: var(--white); }

/* ---------------- Feature rows ---------------- */

.feature-row{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
	padding: 48px 0;
	border-bottom: 1px solid var(--border);
}
.feature-row:last-child{ border-bottom: none; }
.feature-row.reverse .feature-media{ order: 2; }
.feature-media{
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	width: 100%;
	height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0EA5E9 0%, #0F172A 100%);
	overflow: hidden;
}
.feature-media.has-image{
	background: none;
	box-shadow: none;
	height: auto;
	display: block;
}
.feature-media img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.feature-media.has-image img{
	height: auto;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}
.feature-media .feature-icon{
	font-size: 84px;
	filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
}
.feature-text ul{ margin: 20px 0; }
.feature-text ul li{
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
	font-size: 15px;
}

/* ---------------- Stats / trust badges ---------------- */

.badges-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}
.badge-card{
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 16px;
}
.badge-card .badge-icon{ font-size: 30px; margin-bottom: 10px; }
.badge-card h4{ font-size: 15px; margin: 0; color: var(--navy); }

/* ---------------- Final CTA ---------------- */

.cta-final{
	background: var(--navy);
	color: var(--white);
	padding: 64px 0;
	text-align: center;
}
.cta-final h2{ color: var(--white); }
.cta-final p{ color: #CBD5E1; max-width: 560px; margin: 0 auto 28px; font-size: 17px; }
.cta-final .btn-row{ display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cta-final .cta-phone{ font-size: 15px; color: #CBD5E1; }
.cta-final .cta-phone a{ color: var(--white); font-weight: 700; }

/* ---------------- Footer ---------------- */

.site-footer{
	background: #0B1220;
	color: #94A3B8;
	padding: 48px 0 24px;
	font-size: 14px;
}
.footer-grid{
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 32px;
}
.footer-grid h4{ color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-grid ul li{ padding: 5px 0; }
.footer-grid a{ color: #94A3B8; }
.footer-grid a:hover{ color: var(--white); }
.footer-logo{ font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-logo span{ color: var(--blue); }
.footer-bottom{
	border-top: 1px solid #1E293B;
	padding-top: 20px;
	text-align: center;
	font-size: 13px;
}

/* ---------------- Mobile ---------------- */

@media (max-width: 900px){
	.hero .container{ grid-template-columns: 1fr; }
	.plans-grid{ grid-template-columns: repeat(2, 1fr); }
	.feature-row{ grid-template-columns: 1fr; gap: 24px; }
	.feature-row.reverse .feature-media{ order: 0; }
	.badges-grid{ grid-template-columns: repeat(2, 1fr); }
	.footer-grid{ grid-template-columns: 1fr 1fr; }
}

/* ---------------- Page header banner (inner pages) ---------------- */

.page-header{
	background: linear-gradient(180deg, #F0F9FF 0%, var(--white) 100%);
	padding: 56px 0;
	text-align: center;
}
.page-header h1{ margin-bottom: 10px; }
.page-header p{ color: var(--text-light); font-size: 16px; max-width: 600px; margin: 0 auto; }
.breadcrumb{ font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.breadcrumb a{ color: var(--text-light); }

/* ---------------- Info cards (About / Contact) ---------------- */

.info-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.info-card{
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px 24px;
	box-shadow: var(--shadow);
	text-align: center;
}
.info-card .plan-icon{ margin: 0 auto 16px; }
.info-card h4{ color: var(--navy); margin-bottom: 8px; }
.info-card p{ color: var(--text-light); font-size: 14px; margin-bottom: 4px; }
.info-card a{ color: var(--blue-dark); font-weight: 600; }

/* ---------------- Contact form ---------------- */

.contact-layout{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.contact-form{
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 32px;
}
.form-group{ margin-bottom: 18px; }
.form-group label{
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea{
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-family: inherit;
	font-size: 14.5px;
	color: var(--text);
	box-sizing: border-box;
}
.form-group textarea{ resize: vertical; min-height: 110px; }
.otp-row{
	display: flex;
	gap: 10px;
	align-items: flex-end;
	margin-bottom: 18px;
}
.otp-row .form-group{ flex: 1; margin-bottom: 0; }
.form-status{
	margin-top: 16px;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
}
.form-status-ok{ background: #DCFCE7; color: #166534; }
.form-status-error{ background: #FEE2E2; color: #991B1B; }
.resend-link{ font-size: 13px; margin-top: -8px; margin-bottom: 18px; display: inline-block; }

@media (max-width: 700px){
	.info-grid{ grid-template-columns: 1fr; }
	.contact-layout{ grid-template-columns: 1fr; }
	.otp-row{ flex-direction: column; align-items: stretch; }
}

@media (max-width: 700px){
	.topbar{ display: none; }
	.main-nav{
		position: fixed;
		top: 62px;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--white);
		padding: 20px 24px;
		display: none;
		overflow-y: auto;
	}
	.main-nav.open{ display: block; }
	.main-nav ul{ flex-direction: column; align-items: flex-start; gap: 0; }
	.main-nav li{ width: 100%; border-bottom: 1px solid var(--border); }
	.main-nav a{ display: block; padding: 14px 0; }
	.main-nav .dropdown-menu{
		display: flex;
		position: static;
		box-shadow: none;
		border: none;
		padding: 0 0 0 16px;
	}
	.main-nav .dropdown-menu a{ padding: 10px 0; }
	.nav-toggle{ display: flex; }
	.header-phone{ display: none; }
	.hero h1{ font-size: 32px; }
	h2{ font-size: 26px; }
	.plans-grid{ grid-template-columns: 1fr; }
	.badges-grid{ grid-template-columns: 1fr 1fr; }
	.banner{ flex-direction: column; text-align: center; }
	.footer-grid{ grid-template-columns: 1fr; gap: 28px; }
	.section{ padding: 48px 0; }
}
