/**
 * Title: Rajeshhwari Deshmukh - Divine Pathway Global Stylesheet
 * Architecture: Optimized for CodeIgniter Views
 * Core Palette: Amethyst (#9966CC) & Cosmic Void (#1A1225)
 * Version: 1.0.0
 */

/* ==========================================================================
   1. Core Variables & Resets
   ========================================================================== */
:root {
	/* Brand Palette */
	--color-mystic: #9966cc;
	--color-mystic-dark: #7a4eb5;
	--color-mystic-light: #f4efff;
	--color-cosmic: #1a1225;
	--color-cosmic-glow: #291d3a;

	/* Neutrals */
	--color-bg-main: #fafafc;
	--color-text-main: #2d2930;
	--color-text-muted: #6b6570;
	--color-white: #ffffff;
	--color-border: #e6e2ec;

	/* System Accents */
	--color-success: #10b981;
	--color-warning: #f59e0b;

	/* Layout & Transitions */
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--shadow-sm: 0 2px 8px rgba(26, 18, 37, 0.04);
	--shadow-md: 0 10px 25px rgba(153, 102, 204, 0.12);
	--shadow-lg: 0 20px 40px rgba(26, 18, 37, 0.15);
	--transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	background-color: var(--color-bg-main);
	color: var(--color-text-main);
}

body {
	min-height: 100vh;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
	transition: var(--transition-smooth);
}

/* ==========================================================================
   2. Typography Layouts
   ========================================================================== */
.font-serif {
	font-family: "Georgia", Cambria, "Times New Roman", Times, serif;
}

.heading-primary {
	font-size: 2.5rem;
	line-height: 1.2;
	color: var(--color-white);
	font-weight: 400;
}

.heading-secondary {
	font-size: 1.85rem;
	color: var(--color-cosmic);
	margin-bottom: 0.5rem;
}

.text-accent-glow {
	color: var(--color-mystic-light);
	font-weight: 700;
	position: relative;
}

/* ==========================================================================
   3. Main Structural Containers
   ========================================================================== */
.container-max {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: 5rem 0;
}

.bg-alt-light {
	background-color: var(--color-mystic-light);
	background-image: radial-gradient(
		var(--color-mystic) 0.5px,
		transparent 0.5px
	);
	background-size: 24px 24px;
	background-opacity: 0.15;
}

/* ==========================================================================
   4. Common Site Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
}

.site-header__wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.brand-logo {
	display: flex;
	flex-direction: column;
}

.brand-logo__title {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: var(--color-cosmic);
	text-transform: uppercase;
	line-height: 1.1;
}

.brand-logo__subtitle {
	font-size: 0.75rem;
	letter-spacing: 2px;
	color: var(--color-mystic);
	text-transform: uppercase;
	font-weight: 600;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header-phone {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text-muted);
}

.header-phone:hover {
	color: var(--color-mystic);
}

/* ==========================================================================
   5. Ultimate Hero Unit (High Conversion Intent)
   ========================================================================== */
.hero-banner {
	position: relative;
	background: linear-gradient(
		135deg,
		var(--color-cosmic) 0%,
		var(--color-cosmic-glow) 50%,
		#2a104b 100%
	);
	color: var(--color-white);
	padding: 6rem 0;
	text-align: center;
	overflow: hidden;
}

.hero-banner__description {
	max-w: 680px;
	margin: 1.5rem auto 2.5rem;
	color: #c3bdcb;
	font-size: 1.1rem;
}

.hero-cta-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-bottom: 3rem;
}

.trust-inline-bar {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 15px;
	max-width: 800px;
	margin: 0 auto;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.85rem;
	color: #9f97aa;
}

/* ==========================================================================
   6. Social Validation Strip
   ========================================================================== */
.social-proof-bar {
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	padding: 1rem 0;
}

.social-proof-bar__flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

.social-proof-bar__channels {
	display: flex;
	gap: 24px;
	font-weight: 600;
}

.channel-link {
	display: flex;
	align-items: center;
	gap: 6px;
}
.channel-link--youtube:hover {
	color: #ff0000;
}
.channel-link--insta:hover {
	color: #e1306c;
}

/* ==========================================================================
   7. Modality Overview Grid (Why it works)
   ========================================================================== */
.section-intro {
	text-align: center;
	margin-bottom: 3.5rem;
}

.section-intro__label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 700;
	color: var(--color-mystic);
}

.modality-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.modality-card {
	background: var(--color-white);
	padding: 2rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
	text-align: center;
	transition: var(--transition-smooth);
}

.modality-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.modality-card__icon-wrap {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--color-mystic-light);
	color: var(--color-mystic);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.25rem;
	font-size: 1.2rem;
}

.modality-card__title {
	font-size: 1.15rem;
	color: var(--color-cosmic);
	margin-bottom: 0.75rem;
}

.modality-card__text {
	font-size: 0.875rem;
	color: var(--color-text-muted);
}

/* ==========================================================================
   8. Commercial Pricing Modules (E-commerce Engine)
   ========================================================================== */
.modality-block-header {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--color-cosmic);
	margin: 3.5rem 0 1.5rem;
	padding-bottom: 0.5rem;
	border-b: 2px solid var(--color-border);
}

.modality-block-header i {
	color: var(--color-mystic);
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.product-card {
	background: var(--color-white);
	padding: 1.5rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	transition: var(--transition-smooth);
}

.product-card:hover {
	border-color: var(--color-mystic);
	box-shadow: var(--shadow-md);
}

.product-card--featured {
	border: 2px solid var(--color-mystic);
	box-shadow: var(--shadow-md);
}

.product-card__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--color-mystic);
	color: var(--color-white);
	font-size: 0.65rem;
	font-weight: 700;
	padding: 2px 8px;
	text-transform: uppercase;
	border-radius: 4px;
}

.product-card__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-cosmic);
	margin-bottom: 0.5rem;
}

.product-card__desc {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
	min-height: 48px;
}

.product-card__price {
	font-size: 1.35rem;
	font-weight: 900;
	color: var(--color-cosmic);
	margin-bottom: 1rem;
}

.product-card--featured .product-card__price {
	color: var(--color-mystic);
}

/* Alternative Compact Row Item */
.compact-item-row {
	background: var(--color-white);
	padding: 1rem 1.25rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	transition: var(--transition-smooth);
}

.compact-item-row:hover {
	border-color: var(--color-mystic);
}

.compact-item-row__label {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--color-text-main);
}

.compact-item-row__price {
	font-size: 0.95rem;
	font-weight: 900;
	color: var(--color-mystic);
	margin-top: 2px;
}

.compact-item-row__action {
	width: 32px;
	height: 32px;
	background: var(--color-mystic-light);
	color: var(--color-mystic);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
}

/* ==========================================================================
   9. Buttons & Interactive Elements (CTA UI)
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	user-select: none;
	border: 1px solid transparent;
	padding: 0.65rem 1.25rem;
	font-size: 0.875rem;
	border-radius: var(--radius-sm);
	transition: var(--transition-smooth);
	cursor: pointer;
}

.btn-primary {
	background-color: var(--color-mystic);
	color: var(--color-white);
	box-shadow: 0 4px 12px rgba(153, 102, 204, 0.3);
}

.btn-primary:hover {
	background-color: var(--color-mystic-dark);
}

.btn-lg {
	padding: 1rem 2rem;
	font-size: 1rem;
	border-radius: var(--radius-md);
}

.btn-secondary-outline {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--color-white);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary-outline:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   10. Closing Call-To-Action & Footer Base
   ========================================================================== */
.closing-panel {
	background: var(--color-cosmic);
	color: var(--color-white);
	padding: 5rem 0;
}

.closing-panel__box {
	background: linear-gradient(
		135deg,
		rgba(122, 78, 181, 0.15) 0%,
		rgba(26, 18, 37, 0.4) 100%
	);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	padding: 3rem;
	text-align: center;
	max-width: 850px;
	margin: 0 auto;
}

.site-footer {
	background: #110b18;
	color: #615a68;
	font-size: 0.75rem;
	text-align: center;
	padding: 1.5rem 0;
	border-top: 1px solid #1f162a;
}

/* ==========================================================================
   11. Tailwind Shared Configuration Layer Overrides
   ========================================================================== */
.bg-mystic {
	background-color: var(--color-mystic) !important;
}
.bg-mystic-dark {
	background-color: var(--color-mystic-dark) !important;
}
.bg-mystic-light\/40 {
	background-color: rgba(244, 239, 255, 0.4) !important;
}
.bg-mystic-light\/60 {
	background-color: rgba(244, 239, 255, 0.6) !important;
}
.bg-cosmic {
	background-color: var(--color-cosmic) !important;
}
.text-cosmic {
	color: var(--color-cosmic) !important;
}
.text-mystic {
	color: var(--color-mystic) !important;
}
.text-mystic-light {
	color: var(--color-mystic-light) !important;
}
.border-mystic {
	border-color: var(--color-mystic) !important;
}
.border-mystic\/10 {
	border-color: rgba(153, 102, 204, 0.1) !important;
}
.selection\:bg-mystic ::selection {
	background-color: var(--color-mystic) !important;
	color: #fff !important;
}
