:root {
    /* Colors - Light, elegant, slightly warm/mystical palette based on requested style */
    --bg-color: #faf9fb; 
    --text-main: #333140; /* Dark slate for high readability */
    --text-muted: #6b687f; /* Lighter text for author role and subtitles */
    --primary-color: #9d8bba; /* soft purple/lavender */
    --accent-color: #e2c0ad; /* soft peach/rose gold */
    --blue-accent: #c3d6e8;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(142, 131, 163, 0.15);
    
    /* Image Dark Theme Simulation */
    --dark-placeholder: #1e1e24;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Curves */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 300;
}

/* --- Background Ornaments --- */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -150px;
    left: -100px;
}

.shape-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    bottom: -200px;
    right: -100px;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: var(--blue-accent);
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
}

/* --- Layout --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Header Section --- */
.header {
    width: 100%;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInDown 0.8s ease-out;
}

.logo-wrapper {
    margin-bottom: 3rem;
}

.logo-top {
    height: 40px; /* Adjust based on your logo proportions */
    max-width: 100%;
    object-fit: contain;
}

/* Glass Panel Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
}

/* --- Block 1: Quote Section --- */
.quote-block {
    width: 100%;
    padding: 3rem;
}

.quote {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: flex-end;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(157, 139, 186, 0.3);
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.4;
}

/* --- Main content styling --- */
.main-content {
    width: 100%;
    padding: 4rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.main-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.sub-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.article-content {
    display: flex;
    flex-direction: column;
}

p {
    margin-bottom: 1.5rem;
    color: #4a4855;
    letter-spacing: 0.2px;
}

p:last-of-type {
    margin-bottom: 0;
}

/* Images & Placeholders */
/* The dark placeholder design emulating the Dark Theme of the software */
.image-wrapper {
    margin: 3rem 0;
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--dark-placeholder);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); /* Deep elegant shadow */
    transition: transform 0.3s ease;
    display: flex; /* For text centering */
    align-items: center;
    justify-content: center;
    min-height: 250px; /* Base height for placeholder */
}

.image-wrapper:hover {
    transform: translateY(-5px);
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 2; /* Sits above the placeholder */
}

.image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 2rem;
    z-index: 1; /* Sits beneath the image. Visible if img is not found or fails to load */
}

.image-placeholder span {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.image-placeholder small {
    font-size: 0.9rem;
    font-family: monospace;
    opacity: 0.6;
}

/* Modifiers for images */
.hero-image {
    min-height: 350px;
    margin-top: 2.5rem;
}

.full-width {
    width: 100%;
}

/* Pseudo columns / Float text around images for visual rhythm */
@media (min-width: 768px) {
    .align-right {
        float: right;
        width: 50%;
        margin: 1rem 0 1rem 2rem;
        min-height: 200px;
    }

    .align-left {
        float: left;
        width: 50%;
        margin: 1rem 2rem 1rem 0;
        min-height: 200px;
    }
}

.block-separator {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(157, 139, 186, 0.3);
}

/* Footer elements */
.footer-block {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-footer {
    height: 48px;
    max-width: 100%;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.tagline {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 2rem;
}

.contact-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(157, 139, 186, 0.4);
}

.contact-btn:hover {
    background: #8b79a8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 139, 186, 0.6);
}

/* Clearfix for floats */
.article-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-content {
        padding: 2.5rem 1.5rem;
    }
    
    .quote-block {
        padding: 2rem 1.5rem;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .sub-title {
        font-size: 1.2rem;
    }

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

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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