/* CSS Variables for consistent theming - Modern Retro 60/30/10 Color System */
:root {
    /* 60% - Primary background colors (white/light) */
    --primary-bg: #FAFAFA;
    --secondary-bg: #FFFFFF;
    --light-grey: #F9FAFB;
    
    /* 30% - Text and primary elements (charcoal grey) */
    --text-primary: #2A2A2A;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --charcoal: #2A2A2A;
    
    /* 10% - Accents and call-to-action (retro orange) */
    --accent-orange: #FF6B35;
    --accent-dark: #E85D2E;
    
    /* Supporting colors */
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --border-light: #F3F4F6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Layout */
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --max-width: 1200px;
    --transition-base: all 0.3s ease;
}

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

html {
    height: 100%;
    scroll-behavior: smooth; /* Enhanced smooth scrolling */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--primary-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
}

/* News pages specific layout */
body.news-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 1rem 0;
    background: var(--light-grey);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin: 0 0.5rem;
    color: var(--text-light);
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
}

.breadcrumb-item a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

/* Main content wrapper for news pages */
body.news-page .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-base);
}

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

/* Split Logo Styling */
.split-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-link {
    text-decoration: none;
}

.logo-nullco {
    background: var(--charcoal);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px 2px 2px 8px;
    position: relative;
}

.logo-divider {
    width: 1px;
    height: 32px;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.logo-dev {
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2px 8px 8px 2px;
    position: relative;
}

.split-logo:hover .logo-nullco {
    background: #1A1A1A;
    transition: var(--transition-base);
}

.split-logo:hover .logo-dev {
    background: var(--accent-dark);
    transition: var(--transition-base);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

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

.nav-button {
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.nav-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    background: var(--charcoal);
    color: var(--white);
    padding: 8rem 0 4rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23FF6B35" fill-opacity="0.03"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    pointer-events: none;
}

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

h1.hero-title, .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.form-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.form-button {
    padding: 1rem 2rem;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
}

.form-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Form Success Message */
.form-success-container {
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.form-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    max-width: 400px;
    margin: 0 auto;
}

.success-icon {
    width: 3rem;
    height: 3rem;
    color: #10B981; /* Green color for success */
    margin-bottom: 0.5rem;
}

.form-success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
    text-align: center;
}

.form-success-message p {
    font-size: 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.success-subtitle {
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-align: center;
}

.trust-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.trust-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Social Follow CTA */
.social-follow-cta {
    margin-top: 1rem;
    text-align: center;
}

.social-follow-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.social-follow-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-1px);
}

.social-icon {
    width: 16px;
    height: 16px;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: var(--secondary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--secondary-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-base);
}

.product-card:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.product-cta {
    width: 100%;
    padding: 1rem;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.product-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--primary-bg);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background: var(--secondary-bg);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

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

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    padding: 5rem 0;
    background: var(--charcoal);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23FF6B35" fill-opacity="0.03"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Credibility Bar */
.credibility-bar {
    background: var(--white);
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.credibility-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Consulting Section */
.consulting {
    padding: 5rem 0;
    background: var(--light-grey);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.consulting-description {
    font-size: 1.125rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-weight: 500;
}

.consulting-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.service-item:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-item h4 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.consulting-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--accent-orange);
    box-shadow: var(--shadow-md);
}

.consulting-cta p {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.consulting-cta .nav-button {
    font-size: 1.125rem;
    padding: 0.875rem 2.5rem;
}

/* Newsletter Value Section */
.newsletter-value {
    padding: 5rem 0;
    background: var(--light-grey);
}

.newsletter-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-benefit {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
}

.newsletter-benefit .benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.newsletter-benefit h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.newsletter-benefit p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Social CTA */
.social-cta {
    margin-top: 1.5rem;
    text-align: center;
}

.social-cta p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.social-link-inline {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
}

.social-link-inline:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 3rem 0;
}

/* Footer positioning for news pages */
body.news-page .footer {
    margin-top: 0; /* Remove auto margin, flexbox handles positioning */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.footer-logo.split-logo {
    font-size: 1rem;
}

.footer-logo .logo-nullco,
.footer-logo .logo-dev {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
}

.footer-logo .logo-divider {
    height: 24px;
}

/* Dark background version of split logo */
.footer .logo-nullco {
    background: var(--white);
    color: var(--charcoal);
}

.footer .logo-dev {
    background: var(--accent-orange);
    color: var(--white);
}

.footer .logo-divider {
    background: var(--charcoal);
}

/* Footer logo hover - override global hover for better contrast */
.footer .split-logo:hover .logo-nullco {
    background: var(--accent-orange);
    color: var(--white);
    transition: var(--transition-base);
}

.footer .split-logo:hover .logo-dev {
    background: var(--white);
    color: var(--charcoal);
    transition: var(--transition-base);
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--white);
    opacity: 0.7;
    transition: var(--transition-base);
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.social-link svg {
    width: 100%;
    height: 100%;
}

/* News Styles */
.logo-link {
    text-decoration: none;
}

/* News page specific layout - pin footer to bottom */
.news-page-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.news-page-layout .news-section,
.news-page-layout .news-post {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-page-layout .footer {
    margin-top: auto;
}

.nav-link.active {
    color: var(--accent-orange);
    font-weight: 600;
}

.news-section {
    padding: 8rem 0 5rem;
    background: var(--white);
    flex: 1 0 auto; /* Grow to fill available space */
}

/* Ensure news page content fills space */
body.news-page .news-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.news-header {
    text-align: center;
    margin-bottom: 4rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.news-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition-base);
}

.news-card:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.news-date {
    font-size: 0.875rem;
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.3;
}

.news-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

.news-link:hover {
    color: var(--accent-orange);
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-base);
}

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

/* News Post Styles */
.news-post {
    padding: 8rem 0 5rem;
    background: var(--white);
}

.post-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
}

.back-link:hover {
    color: var(--accent-dark);
}

.post-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}


/* Related Content */
.related-content {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.related-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.related-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-link-card {
    padding: 1.5rem;
    background: var(--light-grey);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    transition: var(--transition-base);
}

.related-link-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.related-link-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.related-link-card h4 a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: var(--transition-base);
}

.related-link-card h4 a:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.related-link-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Responsive Images */
.responsive-image {
    width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.responsive-image:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.post-image {
    margin: 2rem 0;
}

.post-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.post-image {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.post-content img,
.post-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    display: block;
    object-fit: cover;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: var(--text-primary);
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.post-content h1 {
    font-size: 2rem;
}

.post-content h2 {
    font-size: 1.75rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.post-content a {
    color: var(--accent-orange);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-orange);
    transition: var(--transition-base);
}

.post-content a:hover {
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.post-content blockquote {
    border-left: 4px solid var(--accent-orange);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.post-content code {
    background: var(--secondary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
}

.post-content pre {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* Homepage News Section */
.homepage-news {
    padding: 5rem 0;
    background: var(--primary-bg);
}

.homepage-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.homepage-news-card {
    background: var(--secondary-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

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

.homepage-news-date {
    font-size: 0.75rem;
    color: var(--accent-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.homepage-news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.homepage-news-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

.homepage-news-title a:hover {
    color: var(--accent-orange);
}

.homepage-news-excerpt {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.homepage-news-link {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.homepage-news-link:hover {
    color: var(--accent-dark);
}

/* Form Success Animations */
@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkmark {
    0% {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dasharray: 100;
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* Post Meta Row - Author and Sharing */
.post-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* Author Styles */
.post-author {
    flex: 1;
}

.author-info {
    display: flex;
    align-items: center;
}

.author-name {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Social Sharing Styles */
.social-sharing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-icon-label {
    width: 16px;
    height: 16px;
    color: var(--text-light);
    flex-shrink: 0;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
}

.share-button:hover {
    background: var(--border-light);
    color: var(--text-secondary);
}

.share-button.twitter:hover {
    color: #1DA1F2;
}

.share-button.linkedin:hover {
    color: #0A66C2;
}

.share-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.share-button span {
    display: none;
}

/* Responsive Images */
.responsive-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 768px) {
    .consulting-services {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-form,
    .cta-form {
        flex-direction: column;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        order: 2;
        margin: 1rem 0;
    }
    
    .footer-info {
        text-align: center;
        order: 3;
    }
    
    .footer-brand {
        order: 1;
    }
    
    .post-meta-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .social-sharing {
        align-self: stretch;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
}