/**
 * pages/products.css — Products & Platforms Page Styles
 *
 * Structure:
 *   1. Hero section — Gradient background, breadcrumb, title, subtitle
 *   2. Coming Soon — Centered illustration, heading, email notification form
 *
 * @package MJC_Fintech_Child
 */

/* =====================================================
   GLOBAL UTILITIES
   ===================================================== */

.prod-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 64px;
}

/* =====================================================
   SECTION 1 — HERO
   ===================================================== */

.prod-hero {
	background: linear-gradient(90deg, #0a2540 0%, #1e5f8c 100%);
	border-bottom: 1px solid #1e2939;
	padding: 64px 0 48px;
}

.prod-breadcrumb {
	display: flex;
	gap: 8px;
	align-items: center;
	font-family: var(--font-body);
	font-size: 14px;
	color: #4a5565;
}

.prod-breadcrumb a {
	color: #4a5565;
	text-decoration: none;
}

.prod-breadcrumb a:hover {
	color: #2bbfce;
}

.prod-breadcrumb-sep {
	color: #4a5565;
	font-size: 14px;
}

.prod-breadcrumb-current {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 500;
	color: #0a2540;
}

.prod-hero-title {
	font-family: var(--font-heading);
	font-size: 64px;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	margin-top: 48px;
	line-height: 1.5;
	display: block;
}

.prod-hero-subtitle {
	font-family: var(--font-body);
	font-size: 18px;
	color: #2bbfce;
	text-align: center;
	margin-top: 16px;
}

/* =====================================================
   SECTION 2 — COMING SOON
   ===================================================== */

.prod-coming-soon {
	background: #ffffff;
	padding: 128px 0;
}

.prod-coming-soon-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.prod-illustration {
	width: 320px;
	height: 320px;
	background: #e8f4f8;
	border: 1px solid #1e2939;
	border-radius: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	font-size: 16px;
	color: #4a5565;
}/* ===================================================
   COMING SOON & NOTIFY SECTION (MJC FINTECH)
   =================================================== */

.prod-coming-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: #0a2540;
    margin-top: 48px;
    display: block;
    line-height: 1.2;
}

.prod-bar {
    width: 80px;
    height: 4px;
    background: #2bbfce;
    border-radius: 2px;
    margin: 24px auto;
}

.prod-coming-sub {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    color: #0a2540;
    margin-top: 0;
}

.prod-coming-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: #364153;
    line-height: 26px;
    max-width: 572px;
    margin: 24px auto 0;
}

.prod-notify-card {
    background: #e8f4f8;
    border: 1px solid #1e2939;
    border-radius: 24px;
    padding: 33px;
    width: 550px; /* Increased card width slightly to allow a wider input */
    margin: 80px auto 0;
    display: flex;
    flex-direction: column;
}

.prod-notify-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #0a2540;
    text-align: center;
    margin: 0 0 32px 0;
    display: block;
    line-height: 1.3;
}

/* --- Fluent Forms Integration Styles --- */

/* 1. Force the form into a side-by-side layout */
.custom-fluent-wrapper .ff-t-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: 100% !important;
}

/* 2. Make the Email Cell wider (takes 70% of space) */
.custom-fluent-wrapper .ff-t-cell.ff-t-column-1 {
    flex: 3 !important; /* Higher number = wider field */
    basis: auto !important;
}

/* 3. Keep the Button Cell at a fixed size */
.custom-fluent-wrapper .ff-t-cell.ff-t-column-2 {
    flex: 1 !important; 
    basis: auto !important;
}

/* 4. Hide internal Fluent Forms labels and clashing styles */
.custom-fluent-wrapper .ff-el-input--label,
.custom-fluent-wrapper .ff-errors-in-stack,
.custom-fluent-wrapper style {
    display: none !important;
}

/* 5. Style the Input Field */
.custom-fluent-wrapper .ff-el-form-control {
    width: 100% !important;
    height: 58px !important;
    background: #ffffff !important;
    border: 1px solid #1e2939 !important;
    border-radius: 24px !important;
    padding: 0 20px !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    color: #0a2540 !important;
    outline: none !important;
}

/* 6. Style the Button */
.custom-fluent-wrapper .ff-btn-submit {
    height: 56px !important;
    width: 100% !important; /* Let it fill its flex container */
    max-width: 160px !important; 
    background-color: #0a2540 !important;
    border-radius: 100px !important;
    border: none !important;
    font-family: var(--font-heading) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    transition: background-color 0.25s ease !important;
}

.custom-fluent-wrapper .ff-btn-submit:hover {
    background-color: #1e5f8c !important;
}

/* 7. Success Message styling */
.custom-fluent-wrapper .ff-message-success {
    background: transparent !important;
    border: none !important;
    color: #4a5565 !important;
    text-align: center !important;
    padding: 10px 0 0 0 !important;
    font-size: 14px !important;
    font-family: var(--font-body) !important;
}

.prod-notify-note {
    font-family: var(--font-body);
    font-size: 12px;
    color: #4a5565;
    text-align: center;
    margin: 16px 0 0 0;
    line-height: 1.5;
}
/* --- Success Message Refinement --- */

/* Targets the success container for the Notify Form */
.custom-fluent-wrapper .ff-message-success {
    background-color: #0a2540 !important; /* MJC Navy Background */
    color: #ffffff !important;           /* White Text for high contrast */
    border: 2px solid #2bbfce !important; /* Teal border "proof" */
    border-radius: 16px !important;
    padding: 20px !important;
    margin-top: 20px !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

/* Ensures the 'We'll notify you' note doesn't clash with the success box */
.custom-fluent-wrapper .ff-message-success + .prod-notify-note {
    display: none; /* Optional: hides the duplicate note after success */
}


/* =====================================================
   RESPONSIVE — MOBILE (768px and below)
   ===================================================== */

@media (max-width: 768px) {
	.prod-container {
		padding: 0 24px;
	}

	.prod-hero {
		padding: 48px 0 32px;
	}

	.prod-hero-title {
		font-size: 36px;
		margin-top: 32px;
	}

	.prod-hero-subtitle {
		font-size: 16px;
		margin-top: 12px;
	}

	.prod-coming-soon {
		padding: 64px 0;
	}

	.prod-illustration {
		width: 240px;
		height: 240px;
		font-size: 14px;
	}

	.prod-coming-title {
		font-size: 32px;
		margin-top: 32px;
	}

	.prod-coming-sub {
		font-size: 20px;
		margin-top: 16px;
	}

	.prod-coming-desc {
		font-size: 14px;
		line-height: 22px;
		max-width: 100%;
		margin-top: 16px;
	}

	.prod-notify-card {
		width: 100%;
		padding: 24px;
		margin-top: 48px;
	}

	.prod-notify-title {
		font-size: 18px;
		margin-bottom: 24px;
	}

	.prod-notify-form {
		flex-direction: column;
		gap: 12px;
	}

	.prod-email-input {
		width: 100%;
		height: 48px;
		font-size: 14px;
		padding: 0 12px;
	}

	.prod-notify-btn {
		width: 100%;
		height: 48px;
		font-size: 14px;
	}

	.prod-notify-note {
		font-size: 11px;
		margin-top: 12px;
	}
}
