/* ========================================
   APPLY AS PARTNER TEMPLATE STYLES
   ======================================== */

/* Page Background */
.apply-partner {
	background-color: #ffffff;
}

/* Container */
.ap-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 50px;
}

/* Typography */
.ap-section-title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 48px;
	font-weight: 500;
	line-height: 1.2;
	color: #000000;
	margin: 0 0 20px 0;
	text-align: center;
}

.ap-section-description {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.4;
	color: #666666;
	text-align: center;
	margin: 0 0 60px 0;
}

/* Buttons */
.ap-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.2s;
	cursor: pointer;
	border: 2px solid transparent;
}

.ap-btn-primary {
	background: #000000;
	color: #ffffff;
	border-color: #000000;
}

.ap-btn-primary:hover {
	background: #333333;
	border-color: #333333;
}

.ap-btn-secondary {
	background: transparent;
	color: #000000;
	border-color: #000000;
}

.ap-btn-secondary:hover {
	background: #f5f5f5;
}

.ap-btn-block {
	width: 100%;
	max-width: 400px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.ap-hero {
	padding: 230px 0 100px 0;
	background: #001B3D;
	position: relative;
	overflow: hidden;
	z-index: 0;
}

.ap-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('/wp-content/uploads/2025/12/Grow-your-business-gradient-bg_2.svg') center top no-repeat;
	background-size: cover;
	z-index: -1;
	pointer-events: none;
}

.ap-hero-content {
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.ap-hero-title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 72px;
	font-weight: 500;
	line-height: 1.1;
	color: #ffffff;
	margin: 0 0 24px 0;
	letter-spacing: -0.02em;
}

.ap-hero-title .highlight {
	color: #5f9beb;
}

.ap-hero-description {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 40px 0;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.ap-hero-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-bottom: 60px;
}

.ap-login-link {
	margin-top: 8px;
	font-family: 'DM Sans', sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.7);
}

.ap-login-link a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	transition: all 0.2s;
}

.ap-login-link a:hover {
	color: #ffffff;
	border-bottom-color: #ffffff;
}

.ap-hero .ap-btn-primary {
	background: #5f9beb;
	color: #ffffff;
	border-color: #5f9beb;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 500;
}

.ap-hero .ap-btn-primary:hover {
	background: #4a89da;
	border-color: #4a89da;
}

.ap-hero-subtext {
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 32px 0;
	text-align: center;
	position: relative;
	z-index: 1;
}

/* ========================================
   OPEN SERVICES (Inside Hero)
   ======================================== */

.ap-open-services {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 0;
	position: relative;
	z-index: 1;
}

.ap-open-service-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(95, 155, 235, 0.3);
	border-radius: 24px;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.ap-open-service-item:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(95, 155, 235, 0.5);
}

.ap-open-service-icon {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	flex-shrink: 0;
}

.ap-open-service-icon svg {
	width: 16px;
	height: 16px;
}

.ap-open-service-name {
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #ffffff;
	line-height: 1.4;
	white-space: nowrap;
}

/* ========================================
   GROWTH ENGINE SECTION
   ======================================== */

.ap-growth {
	padding: 100px 50px 0 50px;
	background: #000b1e;
	position: relative;
	z-index: 1;
}

.ap-growth-header {
	margin-bottom: 60px;
	text-align: center;
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
}

.ap-growth .ap-section-title {
	font-size: 60px;
	font-weight: 500;
	color: #ffffff;
	margin-bottom: 36px;
	letter-spacing: -1.8px;
}

.ap-growth .ap-section-description {
	font-size: 28px;
	font-weight: 300;
	color: #ffffff;
	line-height: 1.4;
}

.ap-growth-image {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	height: 580px;
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.ap-growth-image-container {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.ap-growth-image img {
	width: 100%;
	height: auto;
	display: block;
	position: absolute;
	top: -87px;
	left: -1px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.ap-services {
	padding: 100px 50px;
	background: #083873;
	position: relative;
	overflow: hidden;
}

.ap-services::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 1920px;
	height: 1080px;
	background: url('/wp-content/uploads/2025/12/A-new-way-to-sell-bg-1.svg') center center no-repeat;
	background-size: cover;
	opacity: 0.3;
	z-index: 0;
	pointer-events: none;
}

.ap-services-header {
	margin-bottom: 60px;
	text-align: center;
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 1;
}

.ap-services .ap-section-title {
	font-size: 60px;
	font-weight: 500;
	color: #ffffff;
	margin-bottom: 36px;
	letter-spacing: -1.8px;
	line-height: 1.2;
}

.ap-services .ap-section-title .highlight {
	background: linear-gradient(90deg, #5f9beb 0%, #8cb7f3 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.ap-services .ap-section-description {
	font-size: 28px;
	font-weight: 300;
	color: #ffffff;
	line-height: 1.4;
}

.ap-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 1180px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.ap-service-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	padding: 36px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 28px;
	box-shadow:
		0 0.5px 2px 0 rgba(0, 0, 0, 0.08),
		inset 0 0.5px 0 0 rgba(255, 255, 255, 0.2),
		inset 0 0 8px 2px rgba(255, 255, 255, 0.12);
	transition: all 0.3s ease;
}

.ap-service-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

.ap-service-icon img {
	width: 56px;
	height: 56px;
	display: block;
}

.ap-service-icon-briefcase {
	background: #e0f2ff;
}

.ap-service-icon-dollar {
	background: #ffe7fb;
}

.ap-service-icon-award {
	background: #ffe4e4;
}

.ap-service-title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 24px;
	font-weight: 500;
	color: #ffffff;
	margin: 0 0 16px 0;
	line-height: 1.2;
}

.ap-service-description {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.5;
	color: #ffffff;
	margin: 0;
	min-height: 130px;
}

/* ========================================
   PARTNERING SECTION
   ======================================== */

.ap-partnering {
	padding: 100px 50px;
	background: #002248;
}

.ap-partnering-header {
	text-align: center;
	margin-bottom: 60px;
}

.ap-partnering .ap-section-title {
	font-size: 60px;
	font-weight: 500;
	color: #ffffff;
	margin-bottom: 0;
	letter-spacing: -1.8px;
	line-height: 1.2;
}

.ap-partnering .ap-section-title .highlight {
	background: linear-gradient(90deg, #5f9beb 0%, #a78bfa 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.ap-partnering-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	max-width: 1180px;
	margin: 0 auto;
}

.ap-partnering-steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ap-step-card {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 36px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 28px;
}

.ap-step-number {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #ffffff;
}

.ap-step-content {
	flex: 1;
}

.ap-step-title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 24px;
	font-weight: 500;
	color: #ffffff;
	margin: 0 0 4px 0;
	line-height: 1.2;
}

.ap-step-description {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 300;
	line-height: 1.5;
	color: #ffffff;
	margin: 0;
}

.ap-fee-modal {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 36px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 28px;
	align-items: center;
	justify-content: center;
}

.ap-fee-modal-header {
	text-align: center;
}

.ap-fee-modal-title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 36px;
	font-weight: 500;
	color: #ffffff;
	margin: 0 0 4px 0;
	line-height: 1.2;
}

.ap-fee-modal-subtitle {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 300;
	color: #ffffff;
	margin: 0;
	line-height: 1.5;
}

.ap-fee-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	width: 100%;
}

.ap-fee-card {
	background: #ffffff;
	padding: 24px;
	border-radius: 28px;
	text-align: center;
}

.ap-fee-value {
	font-family: 'TWK Everett', sans-serif;
	font-size: 60px;
	font-weight: 500;
	color: #656672;
	margin: 0 0 8px 0;
	line-height: 1;
}

.ap-fee-label {
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 300;
	color: #656672;
	margin: 0;
	line-height: 1.2;
}

.ap-fee-button {
	width: 100%;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 24px 12px 24px;
	background: linear-gradient(90deg, #5f9beb 0%, #a78bfa 100%);
	border: none;
	border-radius: 12px;
	font-family: 'DM Sans', sans-serif;
	font-size: 20px;
	font-weight: 500;
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.ap-fee-button:hover {
	opacity: 0.9;
}

.ap-fee-button svg {
	width: 16px;
	height: 16px;
}

/* ========================================
   CTA SECTION
   ======================================== */

.ap-cta {
	padding: 100px 50px;
	background: #002248;
	position: relative;
	overflow: hidden;
}

.ap-cta-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 36px;
	background: #fff3da;
	border-radius: 28px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: center;
}

.ap-cta-inner::before {
	content: '';
	position: absolute;
	top: -361px;
	left: -370px;
	width: 1920px;
	height: 1080px;
	background: url('/wp-content/uploads/2025/12/Ready-to-scale-your-practice-bg.svg') center center no-repeat;
	background-size: cover;
	z-index: 0;
	pointer-events: none;
}

.ap-cta-content {
	text-align: center;
	max-width: 100%;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.ap-cta-label {
	font-family: 'TWK Everett', sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #000000;
	margin: 0;
}

.ap-cta-title {
	font-family: 'TWK Everett', sans-serif;
	font-size: 50px;
	font-weight: 500;
	line-height: 1.2;
	color: #000000;
	margin: 0;
	letter-spacing: -1.8px;
}

.ap-cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}

.ap-cta .ap-btn {
	height: 64px;
	padding: 12px 24px 12px 24px;
	font-size: 20px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ap-cta .ap-btn-primary {
	background: #000000;
	color: #ffffff;
	border: 2px solid #000000;
}

.ap-cta .ap-btn-primary:hover {
	background: #333333;
	border-color: #333333;
}

.ap-cta .ap-btn-secondary {
	background: transparent;
	color: #000000;
	border: 2px solid transparent;
}

.ap-cta .ap-btn-secondary:hover {
	background: rgba(0, 0, 0, 0.05);
}

.ap-cta .ap-btn svg {
	width: 16px;
	height: 16px;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1024px) {
	.ap-container {
		padding: 0 30px;
	}

	.ap-section-title {
		font-size: 40px;
	}

	.ap-hero-title {
		font-size: 48px;
	}

	.ap-growth {
		padding: 80px 30px 0 30px;
	}

	.ap-growth .ap-section-title {
		font-size: 48px;
	}

	.ap-growth .ap-section-description {
		font-size: 24px;
	}

	.ap-services-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.ap-cta-title {
		font-size: 40px;
	}
}

@media (max-width: 768px) {
	.ap-hero {
		padding: 100px 0 70px 0;
	}

	.ap-hero-title {
		font-size: 40px;
	}

	.ap-hero-description {
		font-size: 18px;
	}

	.ap-section-title {
		font-size: 32px;
	}

	.ap-section-description {
		font-size: 18px;
	}

	.ap-growth {
		padding: 60px 20px 0 20px;
	}

	.ap-growth .ap-section-title {
		font-size: 36px;
	}

	.ap-growth .ap-section-description {
		font-size: 20px;
	}

	.ap-growth-image {
		height: 400px;
	}

	.ap-growth-image img {
		top: 40px;
	}

	.ap-services,
	.ap-partnering,
	.ap-cta {
		padding: 60px 0;
	}

	.ap-open-services {
		gap: 10px;
	}

	.ap-open-service-item {
		padding: 8px 14px;
		font-size: 13px;
	}

	.ap-cta-title {
		font-size: 32px;
	}

	.ap-cta-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.ap-btn {
		width: 100%;
	}
}
