@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');

:root {
    --text-primary: #4a4a4a;
    --text-secondary: #777;
    /* ... existing vars ... */
    --bg-color: #ffffff;
    --accent-color: #8A2BE2;
    /* ZenMobilite Purple */
    --block-color: #ff5252;
    /* A playful contrast color for the block, or maybe just our purple */
}

/* ... existing styles ... */

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    /* Pure White */
    color: var(--text-primary);
    line-height: 1.8;
    /* More airy line height */
    font-weight: 300;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 4rem 2rem;
}

/* Main Layout - "Letter" style */
.main-container {
    max-width: 1200px;
    /* Wider layout */
    margin: 4rem auto 1rem;
    /* Reduced bottom margin */
    position: relative;
}

/* Header Section with "Z is for..." */
.main-header {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left */
}

.site-logo-full {
    height: 60px;
    /* Adjusted for full logo text balance */
    width: auto;
    display: block;
}

/* h1 removed from header usage, keeping global style if needed or just ignoring */
h1 {
    font-family: 'Outfit', sans-serif;
    /* Geometric sans-serif currently unused in header */
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

/* The Animated Block Container */
.block-container {
    perspective: 1000px;
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
    display: inline-block;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: spin 10s infinite linear;
}

.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 500;
    color: var(--accent-color);
    opacity: 0.95;
    backface-visibility: hidden;
    /* Clean look */
}

/* Image Styling */
.content-image {
    display: block;
    max-width: 100%;
    margin: 3rem auto;
    border-radius: 8px;
    /* Slight soft edge */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Very subtle elegant shadow */
}

/* Cube faces positioning */
.front {
    transform: rotateY(0deg) translateZ(30px);
}

.back {
    transform: rotateY(180deg) translateZ(30px);
}

.right {
    transform: rotateY(90deg) translateZ(30px);
}

.left {
    transform: rotateY(-90deg) translateZ(30px);
}

.top {
    transform: rotateX(90deg) translateZ(30px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(30px);
}

@keyframes spin {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}


/* Content Typography */
p {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.35rem;
    color: #222;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* Link Styling */
a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s;
}

a:hover {
    border-bottom-color: var(--accent-color);
}

/* Simplified Footer */
/* Simplified Footer */
/* Simplified Footer */
/* Simplified Footer */
.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    /* Minimized padding */
    color: #999;
    font-size: 0.75rem;
    /* Smaller font text */
    border-top: 1px solid #eee;
    margin-top: 4rem;
    /* Increased spacing to move it down */
    max-width: 1200px;
    /* Aligns with main-container */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Section */
footer {
    margin-top: 0;
    /* Changed from auto to 0 to sit below content */
    width: 100%;
}

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

.contact-info h3 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-info strong {
    color: var(--text-primary);
    font-weight: 500;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #222;
}

.copyright {
    border-top: 1px solid #f5f5f5;
    padding-top: 1.5rem;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

/* Responsive*/
@media (max-width: 600px) {
    body {
        padding: 2rem 1.5rem;
    }

    .main-container {
        margin-top: 2rem;
    }

    h1 {
        font-size: 1.8rem;
    }
}

/* Split Layout for Image/Text */
.content-split {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
}

.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.text-content .lead {
    /* Use existing styles or override specifically for this context if needed */
    margin-bottom: 0;
    /* Remove default margin since we use gap */
    color: var(--accent-color);
    /* Match site accent */
    font-weight: 400;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .content-split {
        flex-direction: column-reverse;
        /* Text on top usually better, or user said "text left, image right" -> on mobile usually stack image top or bottom. standard is image top or bottom. let's stick to column for now, but user asked for Text left Image right. On mobile: Text top, Image bottom? Or Image top? Let's do standard column (Text top) */
        flex-direction: column;
        gap: 2rem;
    }

    .text-content {
        gap: 1rem;
    }
}