﻿
/* ============================================
   FREGA SITE - MAIN STYLESHEET
   Scoped to .nsContent container
   ============================================ */

/* --------------------------------------------
   CSS Variables
   -------------------------------------------- */
:root {
	--primary-color: #5fcf80;
	--secondary-color: #37517e;
	--warning-color: #ff9800;
	--danger-color: #dc3545;
	--success-color: #28a745;
	--info-color: #004085;
}

/* --------------------------------------------
   Typography
   -------------------------------------------- */
.nsContent h1,
.nsContent h2,
.nsContent h3 {
	color: #003366!important;
}

.nsContent h1 {
	font-size: 2em;
	margin-bottom: 0.5em;
}

.nsContent h2 {
	font-size: 1.5em;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

.nsContent h3 {
	font-size: 1.2em;
	margin-top: 1em;
	margin-bottom: 0.5em;
}

.nsContent .tagline {
	color: #666;
	font-size: 1.1em;
	margin-bottom: 0.5em;
}

.nsContent .intro-text {
	font-size: 1.1rem;
	line-height: 1.8;
}

/* --------------------------------------------
   Lists
   -------------------------------------------- */
.nsContent ul,
.nsContent ol {
	margin-left: 2em;
	margin-bottom: 1em;
}

.nsContent li {
	margin-bottom: 0.5em;
}

/* --------------------------------------------
   Tables
   -------------------------------------------- */
.nsContent table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
}

.nsContent th,
.nsContent td {
	border: 1px solid #ddd;
	padding: 0.75em;
	text-align: left;
	vertical-align: top;
}

.nsContent th {
	background: #003366;
	color: white;
}

.nsContent tr:nth-child(even) {
	background: #f8f9fa;
}

.nsContent .comparison-table {
	border-radius: 10px;
	overflow: hidden;
}

.nsContent .comparison-table th {
	background: var(--secondary-color);
	padding: 1rem;
}

.nsContent .comparison-table td {
	padding: 1rem;
	border-bottom: 1px solid #dee2e6;
}

.nsContent .comparison-table .frega-col {
	color: var(--primary-color);
	font-weight: 600;
}

/* --------------------------------------------
   Notice & Alert Boxes
   -------------------------------------------- */
.nsContent .notice-box {
	background-color: #f0f8ff;
	border-left: 4px solid #003366;
	padding: 1.5em;
	margin: 2em 0;
}

.nsContent .warning-box {
	background: linear-gradient(135deg, #ffebee 0%, #fff5f5 100%);
	border-left: 5px solid #d32f2f;
	border-radius: 0 10px 10px 0;
	padding: 1.5rem;
	margin: 1.5rem 0;
}

.nsContent .warning-box h3 {
	color: #c62828;
	margin-top: 0;
}

.nsContent .warning-box h4 {
	color: var(--secondary-color);
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.nsContent .critical-notice {
	background: linear-gradient(135deg, #fff3cd 0%, #fffbf0 100%);
	border-left: 5px solid #ff9800;
	border-radius: 0 10px 10px 0;
	padding: 1.5rem;
	margin: 1.5rem 0;
}

.nsContent .critical-notice h2 {
	color: #856404;
	margin-top: 0;
}

.nsContent .compliance-note {
	background-color: #fff8e1;
	border-left: 4px solid #ff9800;
	padding: 1em;
	margin: 2em 0;
}

/* --------------------------------------------
   Content Boxes
   -------------------------------------------- */
.nsContent .highlight-box {
	background: #f8f9fa;
	border-left: 4px solid #003366;
	padding: 1.5em;
	margin: 1.5em 0;
}

.nsContent .example-box {
	background-color: #e8f5e9;
	padding: 1.5em;
	margin: 1em 0;
	border-radius: 5px;
}

.nsContent .principle-box {
	background-color: #e8f5e9;
	border-left: 4px solid #4caf50;
	padding: 1.5em;
	margin: 1em 0;
}

.nsContent .key-principle {
	background-color: #f0f8ff;
	padding: 1em 1.5em;
	margin: 1em 0;
	border-left: 3px solid #003366;
}

.nsContent .community-highlight {
	background-color: #f9f9f9;
	padding: 1.5em;
	border-radius: 5px;
	margin: 1em 0;
}

.nsContent .privacy-box {
	background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
	border: 2px solid #ffcc00;
	border-radius: 10px;
	padding: 1.5rem;
	margin: 1.5rem 0;
}

.nsContent .privacy-box h3 {
	color: var(--secondary-color);
	margin-top: 0;
}

.nsContent .community-box {
	background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
	border: 2px solid #ffcc00;
	border-radius: 10px;
	padding: 1.5rem;
	margin: 1.5rem 0;
}

.nsContent .community-box h3 {
	color: var(--secondary-color);
	margin-top: 0;
}

.nsContent .advocate-box {
	background: linear-gradient(135deg, #e8f8ed 0%, #f0fff4 100%);
	border-left: 4px solid var(--primary-color);
	border-radius: 0 10px 10px 0;
	padding: 1.5rem;
	margin: 1.5rem 0;
}

/* --------------------------------------------
   Cards
   -------------------------------------------- */
.nsContent .role-card {
	background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
	padding: 1.5rem;
	margin: 1.5rem 0;
	border-radius: 8px;
}

.nsContent .role-card h3 {
	color: var(--secondary-color);
	margin-top: 0;
	margin-bottom: 1rem;
}

.nsContent .role-box {
	background: #f9f9f9;
	padding: 1.5rem;
	border-radius: 10px;
	margin: 1.5rem 0;
	border-left: 4px solid var(--secondary-color);
}

.nsContent .role-box h3 {
	color: var(--secondary-color);
	margin-top: 0;
	margin-bottom: 1rem;
}

.nsContent .component-card {
	background: #f9f9f9;
	padding: 1.5rem;
	border-radius: 8px;
	margin: 1.5rem 0;
	border-left: 4px solid var(--secondary-color);
}

.nsContent .component-card h3 {
	color: var(--secondary-color);
	margin-top: 0;
	margin-bottom: 1rem;
}

.nsContent .component-card .status-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.nsContent .feature-box {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border-left: 4px solid var(--primary-color);
}

.nsContent .feature-box h3 {
	color: var(--secondary-color);
	margin-top: 0;
}

.nsContent .feature-card {
	background: #fff;
	border-radius: 10px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.nsContent .feature-card h3 {
	color: var(--secondary-color);
	margin-top: 0;
	border-bottom: 2px solid var(--primary-color);
	padding-bottom: 0.5rem;
}

.nsContent .challenge-box {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border-left: 4px solid var(--secondary-color);
}

.nsContent .challenge-box .challenge {
	color: #dc3545;
	font-weight: 600;
}

.nsContent .challenge-box .solution {
	color: var(--primary-color);
	font-weight: 600;
}

.nsContent .getting-started-card {
	background: #fff;
	border-radius: 10px;
	padding: 1.5rem;
	margin-bottom: 1rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
	border-left: 4px solid var(--primary-color);
}

.nsContent .getting-started-card h3 {
	color: var(--secondary-color);
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.nsContent .getting-started-card p {
	margin-bottom: 0;
}

/* --------------------------------------------
   Pricing
   -------------------------------------------- */
.nsContent .pricing-example {
	background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
	border: 2px solid #ffcc00;
	border-radius: 10px;
	padding: 1.5rem;
	margin: 1.5rem 0;
}

.nsContent .pricing-example .amount {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary-color);
}

.nsContent .savings-highlight {
	background: var(--primary-color);
	color: #fff;
	padding: 1rem 1.5rem;
	border-radius: 8px;
	text-align: center;
	font-size: 1.1rem;
	margin-top: 1rem;
}

/* --------------------------------------------
   Steps & Flow
   -------------------------------------------- */
.nsContent .flow-step {
	background: #fff;
	border: 2px solid var(--secondary-color);
	padding: 1rem 1.5rem;
	margin: 0.75rem 0;
	border-radius: 8px;
	display: flex;
	align-items: center;
}

.nsContent .flow-step .step-number {
	background: var(--primary-color);
	color: #fff;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	margin-right: 1rem;
	flex-shrink: 0;
}

.nsContent .step-item {
	display: flex;
	margin-bottom: 1.5rem;
}

.nsContent .step-number {
	background: var(--primary-color);
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
	margin-right: 1rem;
	flex-shrink: 0;
}

.nsContent .step-content h4 {
	color: var(--secondary-color);
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.nsContent .step-content p {
	margin-bottom: 0;
}

/* --------------------------------------------
   Definitions
   -------------------------------------------- */
.nsContent .definition {
	background: #f9f9f9;
	padding: 1.5rem;
	margin: 1.5rem 0;
	border-radius: 8px;
	border-left: 4px solid var(--secondary-color);
}

.nsContent .definition h3 {
	color: var(--secondary-color);
	margin-top: 0;
	margin-bottom: 1rem;
}
.nsContent .definition h2 {
	margin-top: 0;
	border: none;
	padding: 0;
}

.nsContent .definition-text {
	font-weight: 500;
	font-size: 1.75rem;
	margin: 0.8rem 0;
	color: #333;
}

.nsContent .letter-heading {
	color: var(--secondary-color);
	font-size: 1.75rem;
	font-weight: 700;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid var(--primary-color);
}

.nsContent .see-also {
	font-size: 1.75rem;
	color: #666;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #ddd;
}

.nsContent .see-also a {
	color: var(--primary-color);
}

.nsContent strong {
	color: #003366;
}


/* --------------------------------------------
   Status Tags & Badges
   -------------------------------------------- */
.nsContent .status-tag {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: 4px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-top: 0.5rem;
}

.nsContent .status-live,
.nsContent .component-card .status-live {
	background: #d4edda;
	color: #155724;
}

.nsContent .status-launching,
.nsContent .component-card .status-launching {
	background: #fff3cd;
	color: #856404;
}

.nsContent .status-q2,
.nsContent .component-card .status-q2 {
	background: #cce5ff;
	color: #004085;
}

/* --------------------------------------------
   FAQ
   -------------------------------------------- */
.nsContent .faq-item {
	margin-bottom: 1.5rem;
}

.nsContent .faq-item h3 {
	color: var(--secondary-color);
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.nsContent .faq-item p {
	margin-bottom: 0;
}

/* --------------------------------------------
   Comparison Items
   -------------------------------------------- */
.nsContent .comparison-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1rem;
}

.nsContent .comparison-item i {
	color: var(--primary-color);
	margin-right: 0.75rem;
	font-size: 1.25rem;
	flex-shrink: 0;
	margin-top: 0.2rem;
}

/* --------------------------------------------
   Call to Action
   -------------------------------------------- */
.nsContent .cta-box {
	background: #003366;
	color: white;
	padding: 2em;
	text-align: center;
	margin: 2em 0;
}

.nsContent .cta-box h2 {
	color: white;
	margin-top: 0;
}

.nsContent .cta-box a {
	display: inline-block;
	background: white;
	color: #003366;
	padding: 1em 2em;
	text-decoration: none;
	font-weight: bold;
	margin-top: 1em;
	border-radius: 4px;
}

.nsContent .cta-box a:hover {
	background: #f0f0f0;
}

/* --------------------------------------------
   Back to Top Button
   -------------------------------------------- */
.nsContent .back-to-top {
	position: fixed;
	right: 15px;
	bottom: 15px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--primary-color);
	color: #fff;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 996;
}

.nsContent .back-to-top:hover {
	background: #3db661;
	color: #fff;
}

.nsContent .alpha-nav {
	background-color: #f0f8ff;
	padding: 1em;
	margin: 2em 0;
	border-radius: 5px;
	text-align: center;
}

	.nsContent .alpha-nav a {
		margin: 0 0.5em;
		text-decoration: none;
		color: #003366;
		font-weight: bold;
	}