/*
Theme Name: Vitostan (v2)
Description: Corrected theme for vitostan.com with proper component positioning
Author: Vitostan
Version: 2.0
*/

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: #fafafa; 
    color: #333; 
}

/* Landing Page Container (Centering logic) */
.landing-page-v2-container {
    background-color: #f1e3ff; /* Lavender background */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    position: relative; /* Base for absolutely positioned children */
}

/* --- Component 1: Main Content Card --- */
.content-card {
    background: white;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    max-width: 850px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 1; /* Lowest in the stack */
    margin-bottom: 80px; /* Space for the floating card */
}

.main-text {
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-text h1 {
    margin-top: 0;
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 15px;
}

.main-text p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.product-image-container {
    flex: 1;
    background: #f4f4f4;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Component 2: Floating Interaction Card --- */
.floating-interaction-card {
    position: absolute;
    bottom: -60px; /* Floats below the content card, overlapping slightly */
    left: 50%;
    transform: translateX(-50%); /* Centered horizontally */
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    z-index: 2; /* Floats above content card */
    max-width: 500px;
    width: calc(100% - 40px); /* Responsive width */
}

.email-form-v2 {
    display: flex;
    margin-bottom: 10px;
}

.email-form-v2 input {
    flex: 1;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px 0 0 6px;
    font-size: 1rem;
    outline: none;
}

.email-form-v2 button {
    padding: 15px 25px;
    background: #e6b3ff; /* Matching color from input image */
    color: #222;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}

/* --- Component 3: Interaction Feedback Loop --- */
.feedback-hint {
    color: #888;
    font-size: 0.9rem;
    padding: 0 5px;
    display: flex;
    justify-content: space-between;
}

.corrected-link {
    color: #666;
    text-decoration: underline;
    font-weight: bold;
}

.close-hint {
    color: #aaa;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

/* Responsive Overrides (Keep clean, single column) */
@media (max-width: 768px) {
    .content-card { flex-direction: column; }
    .product-image-container { display: none; } /* Optional: Hide photo on mobile */
    .floating-interaction-card { position: static; transform: none; bottom: auto; margin-top: -30px; margin-bottom: 30px;}
    .email-form-v2 { flex-direction: column; }
    .email-form-v2 input { border-radius: 6px; margin-bottom: 10px;}
    .email-form-v2 button { border-radius: 6px; }
}
