:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #c53030;
    --text-dark: #1a202c;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --bg-dark: #1a365d;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--bg-dark);
    padding: 8px 0;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ad-disclosure {
    color: #fbd38d;
    font-size: 12px;
    font-weight: 500;
}

.header-date {
    color: #a0aec0;
    font-size: 12px;
}

.header-main {
    padding: 16px 0;
}

.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--text-medium);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section - Magazine Style */
.hero-magazine {
    padding: 40px 0;
    background-color: var(--bg-white);
}

.hero-magazine-grid {
    display: flex;
    gap: 24px;
}

.hero-main {
    flex: 2;
    position: relative;
    background-color: #2d3748;
    border-radius: 8px;
    overflow: hidden;
    min-height: 480px;
}

.hero-main-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
}

.hero-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 12px;
}

.hero-main-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
}

.hero-main-excerpt {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-sidebar-card {
    background-color: #2d3748;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    position: relative;
    min-height: 150px;
}

.hero-sidebar-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-sidebar-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.hero-sidebar-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-alt {
    background-color: var(--bg-white);
}

.section-dark {
    background-color: var(--bg-dark);
    color: white;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.section-dark .section-title {
    color: white;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

.section-dark .section-subtitle {
    color: #a0aec0;
}

/* Magazine Grid Layout */
.magazine-grid {
    display: flex;
    gap: 40px;
}

.magazine-main {
    flex: 2;
}

.magazine-sidebar {
    flex: 1;
    min-width: 300px;
}

/* Article Cards */
.article-card {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.article-card:first-child {
    padding-top: 0;
}

.article-card-image {
    width: 200px;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #cbd5e0;
}

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

.article-card-content {
    flex: 1;
}

.article-card-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.article-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-card-meta {
    font-size: 13px;
    color: var(--text-light);
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--bg-white);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
}

.trending-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trending-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    min-width: 30px;
}

.trending-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-dark);
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.service-card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 280px;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    height: 180px;
    background-color: #cbd5e0;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-body {
    padding: 24px;
}

.service-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-card-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.service-card-price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: #9b2c2c;
}

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

.btn-secondary:hover {
    background-color: var(--secondary-color);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-block {
    width: 100%;
}

/* About Section */
.about-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background-color: #cbd5e0;
    min-height: 400px;
}

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

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

/* Stats Row */
.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Form Styles */
.form-section {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

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

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Contact Info */
.contact-grid {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-details p {
    font-size: 14px;
    color: var(--text-medium);
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 0;
}

.footer-grid {
    display: flex;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-col {
    flex: 1;
}

.footer-col:first-child {
    flex: 1.5;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

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

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #64748b;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* Disclaimer */
.disclaimer {
    background-color: #1e293b;
    padding: 20px 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text {
    font-size: 14px;
    color: var(--text-medium);
    flex: 1;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.cookie-accept {
    background-color: var(--success-color);
    color: white;
}

.cookie-accept:hover {
    background-color: #2f855a;
}

.cookie-reject {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.cookie-reject:hover {
    background-color: var(--border-color);
}

/* Thanks Page */
.thanks-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: white;
}

.thanks-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.thanks-message {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Legal Pages */
.legal-page {
    padding: 60px 0;
}

.legal-content {
    background-color: var(--bg-white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.legal-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-content p {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 15px;
    color: var(--text-medium);
    margin-bottom: 8px;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background-color: white;
    color: var(--primary-color);
    padding: 16px 40px;
    font-size: 16px;
}

.cta-btn:hover {
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-magazine-grid {
        flex-direction: column;
    }

    .hero-sidebar {
        flex-direction: row;
    }

    .magazine-grid {
        flex-direction: column;
    }

    .magazine-sidebar {
        min-width: 100%;
    }

    .about-grid {
        flex-direction: column;
    }

    .contact-grid {
        flex-direction: column;
    }

    .footer-grid {
        flex-wrap: wrap;
    }

    .footer-col {
        flex: 1 1 45%;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 0;
    }

    .main-nav.active a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-main {
        min-height: 350px;
    }

    .hero-main-title {
        font-size: 24px;
    }

    .hero-sidebar {
        flex-direction: column;
    }

    .article-card {
        flex-direction: column;
    }

    .article-card-image {
        width: 100%;
        height: 200px;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item {
        flex: 1 1 45%;
    }

    .footer-col {
        flex: 1 1 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .legal-content {
        padding: 24px;
    }
}
