:root {
    --primary-color: #00a0d2;
    --secondary-color: #0073aa;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-gray: #64748b;
    --text-dark: #1e293b;
    --success-color: #10b981;
}

/* Disable language switcher on article pages - all content is in Romanian */
.lang-switcher {
    pointer-events: none;
    opacity: 0.5;
}

.lang-switcher .lang-current {
    cursor: default;
}

.lang-switcher .chevron {
    display: none;
}

.lang-switcher .lang-dropdown {
    display: none !important;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    line-height: 1.3;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #111111 0%, #151515 100%);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.logo-text span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s;
}

.main-nav a:hover {
    background: var(--primary-color);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.lang-current:hover {
    background: rgba(255,255,255,0.2);
}

.lang-current .flag {
    font-size: 1.1rem;
}

.lang-current .chevron {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s;
}

.lang-switcher:hover .chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    min-width: 150px;
    border: 1px solid rgba(255,255,255,0.1);
}

.lang-switcher:hover .lang-dropdown,
.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.lang-option:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.lang-option.active {
    background: var(--primary-color);
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

/* Article Hero */
.article-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 0 20px 60px;
    margin-top: 70px;
}

.article-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
        rgba(26, 26, 46, 0.95) 0%,
        rgba(26, 26, 46, 0.7) 30%,
        rgba(26, 26, 46, 0.3) 60%,
        rgba(26, 26, 46, 0.1) 100%);
}

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

.article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.article-category-badge:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.article-category-badge svg {
    width: 16px;
    height: 16px;
}

.article-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.article-meta-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.article-meta-hero span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta-hero svg {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

/* Article Content */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.article-content {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 1.8em;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 2.5em 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--primary-color);
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 2em 0 0.8em;
}

.article-content ul, .article-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.article-content li {
    margin-bottom: 0.8em;
}

.article-content blockquote {
    margin: 2em 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(0, 160, 210, 0.08) 0%, rgba(0, 115, 170, 0.08) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-dark);
}

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

.article-content blockquote p:last-of-type {
    margin-bottom: 0;
}

.article-content blockquote footer {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 15px;
    font-weight: 600;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.article-content a:hover {
    border-bottom-color: var(--primary-color);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2em 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.article-content .highlight-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 30px;
    border-radius: 16px;
    margin: 2em 0;
}

.article-content .highlight-box h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.article-content .highlight-box p:last-child {
    margin-bottom: 0;
}

/* App Download CTA */
.app-cta {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 3em 0;
    text-align: center;
}

.app-cta h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.app-cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--dark-color);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.app-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.app-badge svg {
    width: 24px;
    height: 24px;
}

/* Disclaimer Box */
.disclaimer-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 0 12px 12px 0;
    padding: 20px 25px;
    margin: 2.5em 0;
    font-size: 0.95rem;
}

.disclaimer-box p {
    margin-bottom: 0;
    color: var(--text-dark);
    line-height: 1.7;
}

.disclaimer-box strong {
    color: #b45309;
}

/* Formula Box */
.formula-box {
    background: linear-gradient(135deg, rgba(0, 160, 210, 0.08) 0%, rgba(0, 115, 170, 0.08) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 25px 30px;
    margin: 2em 0;
}

.formula-box p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.formula-box p:last-child {
    margin-bottom: 0;
}

.formula-box ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.formula-box ul:last-child {
    margin-bottom: 0;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2em 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: #fff;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.comparison-table th {
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table th:first-child {
    border-radius: 12px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 12px 0 0;
}

.comparison-table tbody tr:hover {
    background: rgba(0, 160, 210, 0.05);
}

.comparison-table .highlight-row {
    background: linear-gradient(135deg, rgba(0, 160, 210, 0.1) 0%, rgba(0, 115, 170, 0.1) 100%);
}

.comparison-table .highlight-row:hover {
    background: linear-gradient(135deg, rgba(0, 160, 210, 0.15) 0%, rgba(0, 115, 170, 0.15) 100%);
}

/* Section Divider */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
    margin: 2.5em 0;
}

/* Inline App CTA */
.app-cta-inline {
    background: transparent;
    padding: 20px 0;
    text-align: left;
    margin: 1.5em 0;
}

.app-cta-inline .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.app-cta-inline .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 160, 210, 0.3);
}

/* Article Footer */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.article-tag {
    background: var(--light-color);
    color: var(--text-gray);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.article-tag:hover {
    background: var(--primary-color);
    color: #fff;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share span {
    font-weight: 600;
    color: var(--text-gray);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.share-btn.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-btn.linkedin {
    background: #0077b5;
    color: #fff;
}

.share-btn.whatsapp {
    background: #25d366;
    color: #fff;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Related Articles */
.related-articles {
    padding: 80px 20px;
    background: var(--light-color);
}

.related-container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-header {
    text-align: center;
    margin-bottom: 50px;
}

.related-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.related-header p {
    color: var(--text-gray);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    text-decoration: none;
    transition: all 0.4s;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.related-card-image {
    height: 180px;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.related-card:hover .related-card-image img {
    transform: scale(1.08);
}

.related-card-content {
    padding: 25px;
}

.related-card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.related-card:hover .related-card-content h3 {
    color: var(--primary-color);
}

.related-card-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Blog CTA */
.blog-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark-color) 0%, #16213e 50%, var(--secondary-color) 100%);
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.blog-cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.blog-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-white {
    background: #fff;
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #0a0a0f 0%, #111118 100%);
    padding: 70px 20px 30px;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    margin-top: 20px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 14px;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .article-hero h1 {
        font-size: 2.2rem;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .comparison-table th {
        font-size: 0.75rem;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #111111 0%, #151515 100%);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-nav a {
        display: block;
        padding: 15px 0;
        border-radius: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .article-hero {
        height: auto;
        min-height: 400px;
        padding-bottom: 40px;
    }

    .article-hero h1 {
        font-size: 1.8rem;
    }

    .article-meta-hero {
        flex-direction: column;
        gap: 10px;
    }

    .article-container {
        padding: 40px 20px 60px;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .app-cta {
        padding: 30px 20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

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