:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #10b981;
    --accent-hover: #059669;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-body: #f1f5f9;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

header {
    background-color: var(--primary);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

.btn-signin {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-signin:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ticker-wrap {
    background: var(--secondary);
    color: var(--white);
    font-size: 0.85rem;
    padding: 0.6rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker {
    display: inline-block;
    animation: ticker 45s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-weight: 500;
}

.ticker-item span {
    margin-left: 0.5rem;
}

.up {
    color: var(--accent);
}

.down {
    color: #ef4444;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 2rem auto;
}

.hero-main {
    background: var(--primary);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 450px;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.3s;
}

.hero-main:hover .hero-img {
    transform: scale(1.02);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.6) 50%, transparent 100%);
    width: 100%;
    padding: 2.5rem;
    color: var(--white);
}

.tag {
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.1;
}

.hero-meta {
    font-size: 0.9rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.2s;
    border: 1px solid #e2e8f0;
}

.side-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.side-tag {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.side-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
    line-height: 1.3;
}

.side-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 4rem 0 2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::before {
    content: '';
    display: block;
    width: 8px;
    height: 32px;
    background: var(--accent);
    border-radius: 4px;
}

.view-all {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.card-img-wrap {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
    line-height: 1.35;
}

.card-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    margin-top: auto;
}

.author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #cbd5e1;
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 5rem 0 2rem;
    margin-top: 4rem;
}

.footer-top {
    margin-bottom: 4rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand .logo {
    font-size: 2rem;
}

.footer-desc {
    color: #94a3b8;
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #94a3b8;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--white);
}

/* Mobile Navigation & Improvements */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .article-content-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .nav-wrapper {
        padding: 0.75rem 0;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--primary);
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    nav a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

    .btn-signin {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .search-form {
        flex: 1 1 100%;
    }

    .search-form input {
        width: 100% !important;
    }


    .hero-main {
        height: 350px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-overlay {
        padding: 1.5rem;
    }

    .section-header {
        margin: 2.5rem 0 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .article-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .article-image-wrap {
        margin-bottom: 2rem;
        border-radius: 0;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        width: calc(100% + 3rem);
    }

    .article-body {
        font-size: 1.05rem;
    }

    .copyright {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .social-links {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
    }

    .hero-main {
        height: 280px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .header-actions {
        gap: 0.5rem !important;
    }

    .search-form input {
        width: 100px !important;
        font-size: 0.75rem !important;
    }

    .btn-signin,
    .btn-converter {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .nav-wrapper {
        row-gap: 0.5rem;
    }

    .header-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem !important;
    }

    .search-form input {
        width: 100% !important;
        padding: 0.35rem 0.75rem !important;
    }

    .btn-converter {
        width: 100%;
        justify-content: center;
    }
}

/* SEO Content Section */
.seo-section {
    margin-top: 5rem;
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.seo-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 2.5rem 0 1.5rem;
}

.seo-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.seo-content p {
    margin-bottom: 1.5rem;
}

.seo-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.seo-content li {
    margin-bottom: 0.75rem;
}
