/* ============================================
   NutriWhats - Standalone CSS
   Design Philosophy: Minimalismo Moderno com Foco em Movimento
   ============================================ */

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

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #3C3C3C;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* ============================================
   Main Container
   ============================================ */

.container-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

/* ============================================
   Background Decorative Elements
   ============================================ */

.background-decorative {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.diagonal-lines {
    position: absolute;
    width: 24rem;
    height: 24rem;
    opacity: 0.05;
}

.diagonal-lines.top-right {
    top: 0;
    right: 0;
}

.diagonal-lines.bottom-left {
    bottom: 0;
    left: 0;
}

/* ============================================
   Content Wrapper
   ============================================ */

.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 42rem;
    text-align: center;
}

/* ============================================
   Logo
   ============================================ */

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

.logo {
    width: 8rem;
    height: 8rem;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* ============================================
   Typography
   ============================================ */

.main-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
}

.title-green {
    color: #5FBC6F;
}

.subheading {
    font-size: 1.375rem;
    color: #6B7280;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* ============================================
   Divider Line
   ============================================ */

.divider-line {
    width: 5rem;
    height: 0.25rem;
    background: linear-gradient(to right, #5FBC6F, #1B3A6B);
    margin: 0 auto 3rem;
    transform-origin: center;
}

/* ============================================
   Status Section
   ============================================ */

.status-section {
    margin-bottom: 3rem;
}

.status-message {
    font-size: 1.125rem;
    color: #4B5563;
    margin-bottom: 2rem;
}

/* ============================================
   Construction Blocks
   ============================================ */

.blocks-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.block {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
}

.block-1 {
    background-color: #5FBC6F;
}

.block-2 {
    background-color: #1B3A6B;
}

.block-3 {
    background-color: #4FD97F;
}

/* ============================================
   Clock Icon
   ============================================ */

.clock-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.clock-icon {
    width: 4rem;
    height: 4rem;
    color: #5FBC6F;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Description
   ============================================ */

.description {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* ============================================
   CTA Button
   ============================================ */

.cta-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background-color: #5FBC6F;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(95, 188, 111, 0.2);
}

.cta-button:hover {
    background-color: #4FA860;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(95, 188, 111, 0.3);
}

.cta-button:active {
    transform: scale(0.98);
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   Footer Message
   ============================================ */

.footer-message {
    font-size: 0.875rem;
    color: #A0AEC0;
}

/* ============================================
   Animations
   ============================================ */

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

.fade-in-animation {
    animation: fadeInUp 0.7s ease-out forwards;
    opacity: 0;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 640px) {
    .container-main {
        padding: 1.5rem 1rem;
    }

    .logo-container {
        margin-bottom: 2rem;
    }

    .logo {
        width: 6rem;
        height: 6rem;
    }

    .main-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .subheading {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .divider-line {
        margin-bottom: 2rem;
    }

    .status-message {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .blocks-container {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .block {
        width: 2.5rem;
        height: 2.5rem;
    }

    .clock-icon {
        width: 3rem;
        height: 3rem;
    }

    .description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 0.625rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.75rem;
    }

    .subheading {
        font-size: 1rem;
    }

    .status-message {
        font-size: 0.95rem;
    }

    .blocks-container {
        gap: 0.4rem;
    }

    .block {
        width: 2rem;
        height: 2rem;
    }

    .clock-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .description {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* ============================================
   Accessibility
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.cta-button:focus {
    outline: 2px solid #5FBC6F;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .cta-button {
        border: 2px solid #5FBC6F;
    }
}
