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

:root {
    --primary: #1F2428;
    --background: #F6F7F8;
    --secondary: #6B7C8F;
    --accent: #5F7F86;
    --hover: #4F6272;
    --white: #FFFFFF;
    --text: #1F2428;
    --light-gray: #EBEBEB;
    --border: #E0E0E0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

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

/* Header and Navigation */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 20px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo:hover {
    color: var(--accent);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

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

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

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background) 0%, var(--white) 100%);
}

.hero-content {
    padding: 40px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--primary);
}

.hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: var(--hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 36, 40, 0.15);
}

.hero-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Featured Articles */
.featured-articles {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: -0.5px;
    color: var(--primary);
}

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

.featured-card {
    background: var(--background);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.featured-image {
    height: 300px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 30px;
}

.article-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin: 16px 0;
    line-height: 1.3;
    color: var(--primary);
}

.featured-excerpt {
    font-size: 15px;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.read-more::after {
    content: ' →';
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--hover);
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* Tech Insights */
.tech-insights {
    padding: 80px 0;
    background-color: var(--background);
}

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

.insight-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.insight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.insight-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.insight-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    padding: 20px 16px 12px;
    color: var(--primary);
}

.insight-card p {
    padding: 0 16px 20px;
    font-size: 14px;
    color: var(--secondary);
    line-height: 1.6;
}

/* Trending */
.trending {
    padding: 80px 0;
    background-color: var(--white);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.trending-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trending-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.trending-card h3,
.trending-card .trend-date {
    position: absolute;
    background: rgba(31, 36, 40, 0.9);
    color: var(--white);
}

.trending-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    bottom: 50px;
    left: 0;
    right: 0;
    padding: 16px;
    line-height: 1.3;
}

.trending-card .trend-date {
    font-size: 12px;
    font-weight: 600;
    bottom: 16px;
    left: 16px;
    padding: 4px 8px;
    background: var(--accent);
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--hover) 100%);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.newsletter-text {
    padding: 40px;
}

.newsletter-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.newsletter-text p {
    font-size: 15px;
    color: var(--secondary);
    line-height: 1.6;
}

.newsletter-form {
    padding: 40px;
}

.newsletter-form form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(95, 127, 134, 0.1);
}

.newsletter-form button {
    padding: 12px 24px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.newsletter-form button:hover {
    background-color: var(--hover);
    transform: translateY(-2px);
}

.newsletter-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Page */
.article-main {
    padding: 60px 0;
}

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

.article-header {
    margin-bottom: 60px;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--primary);
    letter-spacing: -1px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
}

.article-meta span {
    color: var(--secondary);
    font-weight: 500;
}

.article-featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin: 30px 0;
}

.article-intro {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 40px;
    font-style: italic;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--primary);
}

.article-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text);
    text-align: justify;
}

.article-content ul {
    list-style: none;
    margin: 20px 0 40px 20px;
}

.article-content li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    color: var(--text);
    line-height: 1.6;
}

.article-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Articles Grid */
.articles-main {
    padding: 60px 0;
}

.articles-header {
    background: linear-gradient(135deg, var(--background) 0%, var(--white) 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    text-align: center;
}

.articles-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

.articles-header p {
    font-size: 18px;
    color: var(--secondary);
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.article-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.article-card-image {
    height: 100%;
    min-height: 300px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-card-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.article-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--primary);
}

.article-card-excerpt {
    font-size: 15px;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.article-card-author {
    font-size: 13px;
    color: var(--secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.article-card-link {
    align-self: flex-start;
}

/* About Page */
.about-main {
    padding: 60px 0;
}

.about-hero {
    background: linear-gradient(135deg, var(--background) 0%, var(--white) 100%);
    padding: 60px 0;
    margin-bottom: 60px;
    text-align: center;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
}

.about-hero p {
    font-size: 18px;
    color: var(--secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
    margin-top: 12px;
    margin-bottom: 20px;
}

.about-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.about-image {
    margin-top: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Contact Page */
.contact-main {
    padding: 60px 0;
}

.contact-header {
    background: linear-gradient(135deg, var(--background) 0%, var(--white) 100%);
    padding: 60px 0;
    margin-bottom: 60px;
    text-align: center;
}

.contact-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
}

.contact-header p {
    font-size: 18px;
    color: var(--secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(95, 127, 134, 0.1);
}

.submit-button {
    padding: 14px 40px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.submit-button:hover {
    background-color: var(--hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(31, 36, 40, 0.15);
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.contact-info p {
    font-size: 16px;
    color: var(--secondary);
    line-height: 1.6;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.contact-image-section {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.contact-image-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Advertise Page */
.advertise-main {
    padding: 60px 0;
}

.advertise-header {
    background: linear-gradient(135deg, var(--background) 0%, var(--white) 100%);
    padding: 60px 0;
    margin-bottom: 60px;
    text-align: center;
}

.advertise-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
}

.advertise-header p {
    font-size: 18px;
    color: var(--secondary);
}

.advertise-content {
    max-width: 900px;
    margin: 0 auto 60px;
}

.advertise-section {
    margin-bottom: 50px;
}

.advertise-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.advertise-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

.advertise-list {
    list-style: none;
    margin-top: 12px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.advertise-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
}

.advertise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.advertise-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.advertise-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Policy Pages */
.policy-main {
    padding: 60px 0;
}

.policy-header {
    background: linear-gradient(135deg, var(--background) 0%, var(--white) 100%);
    padding: 60px 0;
    margin-bottom: 60px;
    text-align: center;
}

.policy-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

.policy-header p {
    font-size: 14px;
    color: var(--secondary);
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 50px;
}

.policy-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.policy-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 12px;
}

.policy-list {
    list-style: none;
    margin: 16px 0 16px 20px;
}

.policy-list li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

.policy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.policy-section a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: var(--hover);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-section ul li:not(a) {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 0;
        gap: 30px;
    }

    .nav-menu {
        gap: 20px;
    }

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

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

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

    .newsletter-content {
        grid-template-columns: 1fr;
    }

    .article-card {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }
}
