/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
    font-size: 18px;
}

/* Editorial Container */
.editorial-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
}

/* Article Header */
.article-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 30px;
}

.publish-date {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 500;
}

.article-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 22px;
    line-height: 1.4;
    color: #444;
    font-weight: 400;
    font-style: italic;
}

/* Editorial Content */
.editorial-content p {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.editorial-section {
    margin: 60px 0;
}

.editorial-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #000;
}

.editorial-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

/* Strong and Emphasis */
strong {
    font-weight: 600;
    color: #000;
}

/* Article Images */
.article-image {
    margin: 40px 0;
    text-align: center;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-image figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Pull Quotes */
.pull-quote {
    margin: 40px 0;
    padding: 30px;
    background: #f8f8f8;
    border-left: 4px solid #000;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    line-height: 1.4;
    font-style: italic;
    color: #333;
    font-weight: 400;
}

/* Feature Lists */
.feature-list {
    margin: 30px 0;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.6;
}

.feature-list li strong {
    color: #000;
}

/* CTA Sections */
.cta-section {
    margin: 60px 0;
}

.cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    padding: 48px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2563eb, #60a5fa, #2563eb, transparent);
}

.cta-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.4);
}

.cta-box.featured {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
    border: none;
}

.cta-box.featured::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-box h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', Georgia, serif;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 28px;
    color: #fff;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.cta-button::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover::after {
    transform: translateX(4px);
}

.cta-button.primary {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

.cta-note {
    font-size: 13px;
    margin-top: 20px;
    opacity: 0.8;
    font-style: italic;
}

/* Urgency Badge */
.cta-box .urgency-badge {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Testimonials */
.testimonial-section {
    margin: 60px 0;
}

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

.testimonial {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: #333;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 14px;
    color: #666;
}

/* Article Footer */
.article-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.author-bio p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

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

.article-tags span {
    background: #f0f0f0;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Site Footer */
.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 60px 20px 30px;
    margin-top: 100px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2563eb, #60a5fa, #2563eb, transparent);
}

/* Footer Grid Layout */
.footer-grid {
    max-width: 1000px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
}

.footer-column {
    padding: 0 10px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #2563eb;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-column ul li a:hover::after {
    width: 100%;
}

.footer-column p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-column strong {
    color: #fff;
    font-weight: 600;
}

/* Legacy Footer Navigation (kept for compatibility) */
.footer-nav {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.footer-links a:hover {
    color: #fff;
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

/* Company Info */
.company-info {
    max-width: 680px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-info p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
    line-height: 1.6;
}

.company-info strong {
    color: #fff;
    font-weight: 600;
}

/* Disclaimer */
.disclaimer {
    max-width: 900px;
    margin: 30px auto 0;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.disclaimer p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    font-style: italic;
}

/* Copyright */
.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright p {
    font-size: 13px;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .editorial-container {
        padding: 20px 15px;
    }
    
    .article-header h1 {
        font-size: 32px;
    }

    .cta-box {
        padding: 35px 25px;
    }
    
    .cta-box h3 {
        font-size: 26px;
    }
    
    .cta-box p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 16px 28px;
        font-size: 14px;
    }
    
    .site-footer {
        padding: 40px 15px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul li a:hover {
        transform: translateX(0);
    }
    
    .company-info {
        padding: 20px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .editorial-section h2 {
        font-size: 28px;
    }
    
    .pull-quote {
        font-size: 24px;
        padding: 20px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .cta-box h3 {
        font-size: 24px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    .editorial-content p {
        font-size: 16px;
    }
    
    .article-header h1 {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .editorial-section h2 {
        font-size: 24px;
    }
    
    .pull-quote {
        font-size: 20px;
        padding: 15px;
    }
    
    .feature-list li {
        font-size: 16px;
    }
    
    .cta-box {
        padding: 25px 15px;
    }
    
    .cta-box h3 {
        font-size: 22px;
    }
    
    .cta-box p {
        font-size: 16px;
    }
    
    .testimonial {
        padding: 20px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection colors */
::selection {
    background: #2563eb;
    color: #fff;
}

::-moz-selection {
    background: #2563eb;
    color: #fff;
}

/* Focus styles */
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.cta-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.editorial-section {
    animation: fadeIn 0.6s ease-out;
}

/* Contact Form Styles */
.contact-form-section {
    margin: 60px 0;
}

.contact-form {
    max-width: 100%;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 400;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 12px;
    margin-top: 2px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.contact-item i {
    font-size: 20px;
    color: #2563eb;
    margin-right: 16px;
    margin-top: 2px;
    min-width: 20px;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    padding: 24px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 0;
}

/* Cookie Table Styles */
.cookie-table {
    overflow-x: auto;
    margin: 20px 0;
}

.cookie-table table {
    min-width: 600px;
}

/* Form Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-message {
    border-radius: 6px;
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 14px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Print styles */
@media print {
    .site-footer,
    .cta-section {
        display: none;
    }
    
    .editorial-container {
        max-width: none;
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
