:root {
    --bg-color: #fafbfc;
    --text-primary: #1e272e;
    --text-secondary: #485460;
    --accent-green: #10ac84;
    --accent-blue: #5f55e5;
    --border-light: #eaedfc;
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: "Lato", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout containers */
.main-container {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Top bar Badge styling */
.badge-eco {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    background: #ffffff;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f2f6;
    display: inline-flex;
    align-items: center;
}

.dot-green {
    height: 8px;
    width: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 172, 132, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 172, 132, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 172, 132, 0); }
}

/* Typography & Hero section */
.brand-name {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.brand-subtitle {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--accent-blue);
    text-transform: none;
    letter-spacing: 0px;
}

.bio-teaser {
    margin-top: 3rem;
}

.bio-teaser .quote {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent-blue);
    padding-left: 15px;
    margin-bottom: 2rem;
}

.bio-teaser .description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-align: justify;
}

.bio-teaser .mystery-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.5rem;
}

.cat-security {
    font-size: 1.2rem;
    color: #8da2b5;
    margin-top: 2.5rem;
}

/* Custom Buttons minimal & elegant */
.btn-primary-custom {
    font-size: 1.4rem;
    font-weight: 700;
    background-color: var(--text-primary);
    color: #ffffff !important;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    border: none;
}

.btn-primary-custom:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(95, 85, 229, 0.2);
}

.btn-secondary-custom {
    font-size: 1.4rem;
    font-weight: 400;
    background-color: transparent;
    color: var(--text-primary) !important;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--text-primary);
    transition: all 0.25s ease;
}

.btn-secondary-custom:hover {
    background-color: #f1f2f6;
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

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

/* SVG Animations setup */
.svg-img svg {
    width: 100%;
    height: auto;
    max-height: 450px;
    display: block;
    margin: auto;
}

#clock {
    animation: clockHand 12s infinite linear;
    transform-box: fill-box;
    transform-origin: bottom;
}

#leftTree, #righTree {
    animation: tree Sway 4s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: bottom;
}

#man {
    animation: manBodySway 3s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: bottom;
}

#pc-circle {
    fill: #10ac84;
    stroke-width: 4;
    animation: change-light 6s linear infinite alternate;
}

@keyframes clockHand {
    from { transform: rotateZ(0deg); }
    to { transform: rotateZ(-360deg); }
}

@keyframes manBodySway {
    from { transform: rotateX(0deg) translateY(0px); }
    to { transform: rotateX(6deg) translateY(2px); }
}

@keyframes treeSway {
    from { transform: rotateZ(4deg); }
    to { transform: rotateZ(-4deg); }
}

@keyframes change-light {
    0% { stroke: #5f55e5; fill: #5f55e5; }
    50% { stroke: #10ac84; fill: #10ac84; }
    100% { stroke: #ff4757; fill: #ff4757; }
}

/* Footer Section styling */
.footer-credits p {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.hosting-disclosure {
    font-size: 1.1rem !important;
    color: #95a5a6 !important;
    max-width: 650px;
    margin: 0 auto;
}

.hosting-disclosure a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 700;
}

.hosting-disclosure a:hover {
    text-decoration: underline;
}

/* Media Queries for perfect responsive design layout */
@media (max-width: 991px) {
    .text-section {
        text-align: center;
        margin-bottom: 4rem;
    }
    .bio-teaser .quote {
        border-left: none;
        border-bottom: 2px solid var(--accent-blue);
        padding-left: 0;
        padding-bottom: 10px;
        display: inline-block;
    }
    .brand-name { font-size: 4rem; }
    .action-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .action-buttons a {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
