/* Tablet Common Styles */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    /* Comfortable padding for tablet */
    box-sizing: border-box;
}

/* Ensure body has flex column for sticky footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Base resets */
*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   Premium Visual Styles (Migrated from K12 - Tablet)
   ========================================= */

/* --- Solution Visuals --- */
.solution-visual {
    height: 320px;
    /* Keep consistent height or adjust if needed */
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-visual::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    z-index: 2;
    transition: all 0.5s ease;
}

.solution-visual:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.solution-visual::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    z-index: 2;
    pointer-events: none;
}

.visual-content {
    position: absolute;
    bottom: 40px;
    /* Slightly adjusted for tablet if needed, but 50px is fine too. Let's use 40px for safety spacing */
    left: 40px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    /* Slightly smaller for tablet */
    color: white;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    z-index: 3;
    font-style: italic;
    letter-spacing: 1px;
    opacity: 1;
    transform: translateY(0);
}

/* Visual Variants - Premium K12 Style */
.visual-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
}

.visual-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #475569 100%);
}

.visual-gold {
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #fbbf24 100%);
}

.visual-warm {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.visual-memory {
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
}

.visual-recovery {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.visual-family {
    background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
}

.visual-home {
    background: linear-gradient(135deg, #57534e 0%, #44403c 100%);
}

.visual-hotel {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.visual-iot {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}