/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-color: #dc2626;
	--primary-hover: #b91c1c;
	--secondary-color: #1f2937;
	--text-color: #1f2937;
	--text-light: #6b7280;
	--border-color: #e5e7eb;
	--bg-light: #f9fafb;
	--white: #ffffff;
	--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
	color: var(--text-color);
	line-height: 1.6;
	background-color: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
/* ========================================
   ARTICOL SEO - STILIZARE ULTRACREDIT
   ======================================== */

.seo-article {
    max-width: 900px; /* Lățime optimă pentru citit */
    margin: 40px auto;
    padding: 0 20px;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 17px;
}

/* Tipografie */
.seo-article h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin: 50px 0 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--bg-light);
    position: relative;
}

.seo-article h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.seo-article h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 35px 0 15px;
    font-weight: 700;
}

.seo-article p {
    margin-bottom: 25px;
}

.seo-article strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Secțiunea Intro */
.intro-section {
    font-size: 19px;
    color: var(--text-light);
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin-bottom: 40px;
}

/* Liste */
.seo-article ul, .seo-article ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.seo-article li {
    margin-bottom: 12px;
}

.seo-article ul li::marker {
    color: var(--primary-color);
}

/* Imagini și Placeholder-e */
.seo-article img {
    display: block;
    margin: 40px auto;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

/* Tabel - Stilizare Modernă */
.table-container {
    margin: 40px 0;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.table-container th {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: left;
    padding: 18px;
    font-weight: 600;
}

.table-container td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
}

.table-container tr:last-child td {
    border-bottom: none;
}

.table-container tr:hover {
    background-color: var(--bg-light);
}

/* Secțiunea FAQ din Articol */
.faq-container {
    margin-top: 60px;
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

.faq-card {
    background: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-card h3 {
    margin-top: 0;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.faq-card p {
    margin-bottom: 0;
    font-size: 16px;
}

/* Formula Matematică (DAE) */
.seo-article p:contains("$$") {
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-family: serif;
    font-size: 1.2rem;
}

/* Caseta de Concluzie (CTA) */
.conclusion-box {
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-lg);
    background-color: var(--white) !important; /* Suprascriem fundalul gri pentru contrast */
}

.conclusion-box h2 {
    margin-top: 0 !important;
    border: none !important;
}

.conclusion-box h2::after {
    display: none;
}

/* Adaptare Mobil */
@media (max-width: 768px) {
    .seo-article h2 { font-size: 26px; }
    .seo-article { font-size: 16px; }
    .faq-container { padding: 20px; }
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

ul {
	list-style: none;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	text-align: center;
	cursor: pointer;
	transition: var(--transition);
	border: 2px solid transparent;
	white-space: nowrap;
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--white);
	border: 1px solid white;
}

.btn-primary:hover {
	background-color: var(--primary-hover);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-secondary {
	background-color: var(--white);
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
	background-color: var(--primary-color);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-large {
	padding: 16px 40px;
	font-size: 18px;
}

/* ========================================
   HEADER
   ======================================== */

.header {
	background-color: var(--white);
	border-bottom: 1px solid var(--border-color);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: var(--shadow-sm);
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	gap: 30px;
}

.logo-text {
	font-size: 24px;
	font-weight: 700;
	color: var(--primary-color);
	letter-spacing: -0.5px;
}

.nav {
	display: flex;
	gap: 32px;
	align-items: center;
}

.nav-link {
	color: var(--text-color);
	font-weight: 500;
	font-size: 15px;
	position: relative;
}

.nav-link:hover {
	color: var(--primary-color);
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}

.nav-link:hover::after {
	width: 100%;
}

.mobile-menu-btn {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
}

.mobile-menu-btn span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--text-color);
	border-radius: 2px;
	transition: var(--transition);
}

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

.hero {
	background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
	padding: 80px 0;
}

.hero-content {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.hero-title {
	font-size: 56px;
	font-weight: 800;
	color: var(--text-color);
	margin-bottom: 24px;
	line-height: 1.1;
	letter-spacing: -1px;
}

.hero-description {
	font-size: 20px;
	color: var(--text-light);
	margin-bottom: 40px;
	line-height: 1.7;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.hero-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 40px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	background-color: var(--white);
	border-radius: 8px;
	box-shadow: var(--shadow-sm);
}

.feature-icon {
	width: 24px;
	height: 24px;
	color: var(--primary-color);
	flex-shrink: 0;
}

.feature-item span {
	font-size: 15px;
	color: var(--text-color);
	font-weight: 500;
	text-align: left;
}

.hero-cta {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ========================================
   PRIMARY CTA BLOCK
   ======================================== */

.primary-cta {
	background-color: var(--primary-color);
	padding: 50px 0;
}

.cta-box {
	text-align: center;
}

.cta-trust {
	color: var(--white);
	font-size: 18px;
	margin-bottom: 24px;
	font-weight: 500;
}

/* ========================================
   SECTIONS
   ======================================== */

.section-title {
	font-size: 40px;
	font-weight: 700;
	color: var(--text-color);
	text-align: center;
	margin-bottom: 50px;
	letter-spacing: -0.5px;
}

/* ========================================
   ADVANTAGES
   ======================================== */

.advantages {
	padding: 80px 0;
	background-color: var(--white);
}

.advantages-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.advantage-card {
	padding: 35px;
	background-color: var(--white);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	transition: var(--transition);
}

.advantage-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary-color);
}

.advantage-icon {
	width: 50px;
	height: 50px;
	margin-bottom: 20px;
	color: var(--primary-color);
}

.advantage-title {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 12px;
	color: var(--text-color);
}

.advantage-text {
	color: var(--text-light);
	line-height: 1.7;
}

/* ========================================
   HOW IT WORKS
   ======================================== */

.how-it-works {
	padding: 80px 0;
	background-color: var(--bg-light);
}

.steps {
	max-width: 800px;
	margin: 0 auto;
}

.step-item {
	display: flex;
	gap: 30px;
	margin-bottom: 50px;
	position: relative;
}

.step-item:last-child {
	margin-bottom: 0;
}

.step-item::after {
	content: '';
	position: absolute;
	left: 30px;
	top: 70px;
	width: 2px;
	height: calc(100% + 20px);
	background-color: var(--border-color);
}

.step-item:last-child::after {
	display: none;
}

.step-number {
	width: 60px;
	height: 60px;
	background-color: var(--primary-color);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.step-content {
	flex: 1;
}

.step-title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 12px;
	color: var(--text-color);
}

.step-text {
	color: var(--text-light);
	line-height: 1.7;
}

/* ========================================
   CONDITIONS
   ======================================== */

.conditions {
	padding: 80px 0;
	background-color: var(--white);
}

.conditions-content {
	max-width: 800px;
	margin: 0 auto;
}

.conditions-list {
	margin-bottom: 40px;
}

.conditions-list li {
	display: flex;
	align-items: flex-start;
	gap: 15px;
	margin-bottom: 20px;
	padding: 20px;
	background-color: var(--bg-light);
	border-radius: 8px;
	transition: var(--transition);
}

.conditions-list li:hover {
	background-color: #fff5f5;
}

.check-icon {
	width: 24px;
	height: 24px;
	color: var(--primary-color);
	flex-shrink: 0;
	margin-top: 2px;
}

.conditions-list li span {
	font-size: 17px;
	color: var(--text-color);
	font-weight: 500;
}

.conditions-note {
	padding: 30px;
	background-color: #fff5f5;
	border-left: 4px solid var(--primary-color);
	border-radius: 8px;
}

.conditions-note p {
	color: var(--text-color);
	line-height: 1.7;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials {
	padding: 80px 0;
	background-color: var(--bg-light);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.testimonial-card {
	padding: 30px;
	background-color: var(--white);
	border-radius: 12px;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}

.testimonial-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}

.testimonial-rating {
	color: #fbbf24;
	font-size: 20px;
	margin-bottom: 15px;
	letter-spacing: 2px;
}

.testimonial-text {
	color: var(--text-color);
	line-height: 1.7;
	margin-bottom: 15px;
	font-style: italic;
}

.testimonial-author {
	color: var(--text-light);
	font-weight: 600;
	font-size: 14px;
}

/* ========================================
   ARTICLE SECTION
   ======================================== */

.article-section {
	padding: 80px 0;
	background-color: var(--white);
}

.article {
	max-width: 800px;
	margin: 0 auto;
}

.article-title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 30px;
	color: var(--text-color);
	line-height: 1.3;
}

.article-content {
	color: var(--text-color);
	line-height: 1.8;
}

.article-intro {
	font-size: 19px;
	color: var(--text-light);
	margin-bottom: 30px;
	line-height: 1.8;
}

.article-content h3 {
	font-size: 26px;
	font-weight: 600;
	margin-top: 40px;
	margin-bottom: 16px;
	color: var(--text-color);
}

.article-content p {
	margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
	margin-bottom: 25px;
	padding-left: 25px;
}

.article-content ul li,
.article-content ol li {
	margin-bottom: 12px;
	position: relative;
	padding-left: 10px;
}

.article-content ul {
	list-style: none;
}

.article-content ul li::before {
	content: '•';
	color: var(--primary-color);
	font-weight: bold;
	font-size: 20px;
	position: absolute;
	left: -15px;
}

.article-content ol {
	list-style: decimal;
	list-style-position: outside;
}

.article-content strong {
	color: var(--text-color);
	font-weight: 600;
}

/* ========================================
   FAQ
   ======================================== */

.faq {
	padding: 80px 0;
	background-color: var(--bg-light);
}

.faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background-color: var(--white);
	padding: 30px;
	border-radius: 12px;
	margin-bottom: 20px;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
}

.faq-item:hover {
	box-shadow: var(--shadow-md);
}

.faq-question {
	font-size: 20px;
	font-weight: 600;
	color: var(--text-color);
	margin-bottom: 12px;
}

.faq-answer {
	color: var(--text-light);
	line-height: 1.7;
}

/* ========================================
   SECONDARY CTA
   ======================================== */

.secondary-cta {
	padding: 80px 0;
	background-color: var(--white);
	text-align: center;
}

.cta-title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--text-color);
}

.cta-text {
	font-size: 18px;
	color: var(--text-light);
	max-width: 700px;
	margin: 0 auto 30px;
	line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
	background-color: var(--secondary-color);
	color: #d1d5db;
	padding: 60px 0 30px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-title {
	color: var(--white);
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
}

.footer-text {
	line-height: 1.7;
	margin-bottom: 20px;
}

.footer-legal-text {
	font-size: 14px;
	color: #9ca3af;
	font-style: italic;
}

.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.contact-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--primary-color);
	margin-top: 2px;
}

.footer-contact a:hover {
	color: var(--white);
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-links a {
	color: #d1d5db;
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--white);
	padding-left: 5px;
}

.footer-bottom {
	border-top: 1px solid #374151;
	padding-top: 30px;
	text-align: center;
}

.footer-bottom p {
	margin-bottom: 10px;
	font-size: 14px;
}

.footer-disclaimer {
	font-size: 13px;
	color: #9ca3af;
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.6;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
	.nav {
		display: none;
	}
	
	.mobile-menu-btn {
		display: flex;
	}
	
	.hero-title {
		font-size: 42px;
	}
	
	.section-title {
		font-size: 32px;
	}
}

@media (max-width: 768px) {
	.hero {
		padding: 60px 0;
	}
	
	.hero-title {
		font-size: 36px;
	}
	
	.hero-description {
		font-size: 18px;
	}
	
	.hero-features {
		grid-template-columns: 1fr;
	}
	
	.hero-cta {
		flex-direction: column;
	}
	
	.hero-cta .btn {
		width: 100%;
	}
	
	.advantages-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
	}
	
	.step-item {
		flex-direction: column;
		gap: 20px;
	}
	
	.step-item::after {
		display: none;
	}
	
	.article-title {
		font-size: 28px;
	}
	
	.cta-title {
		font-size: 28px;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 15px;
	}
	
	.hero-title {
		font-size: 30px;
	}
	
	.section-title {
		font-size: 26px;
	}
	
	.btn {
		padding: 10px 20px;
		font-size: 15px;
	}
	
	.btn-large {
		padding: 14px 30px;
		font-size: 16px;
	}
}