﻿/* ==========================================
   Simulator Specific Styles
   ========================================== */

/* ==========================================
   繝倥ャ繝繝ｼ繧ｹ繝・・繧ｿ繧ｹ
   ========================================== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* 閭梧勹縺ｮ迺ｰ蠅・｣蜍・*/
body {
    transition: background-color 0.8s ease;
}

body.bg-heat {
    background-color: #fff1f2;
    /* 阮・＞襍､・育憲證托ｼ・*/
}

body.bg-cold {
    background-color: #f0f9ff;
    /* 阮・＞髱抵ｼ亥ｯ呈ｳ｢・・*/
}

body.bg-storm {
    background-color: #e2e8f0;
    /* 繝繝ｼ繧ｯ繧ｰ繝ｬ繝ｼ・亥ｵ撰ｼ・*/
}

.header-status {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.header-tag {
    padding: 0.25rem 0.6rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
    /* animation: float-soft 3s ease-in-out infinite; */
}

#header-score {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
    border-color: #c7d2fe;
}

#header-level {
    font-size: 0.7rem;
}

.simulator-wrapper {
    max-width: 720px;
    margin: 0.5rem auto;
    padding: 1rem;
}

.simulator-title {
    font-size: 1.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================
   驕ｸ謚槭お繝ｪ繧｢
   ========================================== */

/* ==========================================
   繧､繝ｳ繝ｩ繧､繝ｳ繧ｻ繝ｬ繧ｯ繧ｿ繝ｼ・医せ繧ｳ繧｢蜀・ｵｱ蜷茨ｼ・
   ========================================== */

.inline-selectors {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
    align-items: center;
}

.gps-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.gps-btn:hover {
    border-color: #6366f1;
    background-color: white;
    transform: scale(1.05);
}

.gps-btn:active {
    transform: scale(0.95);
}

.compact-select {
    appearance: none;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.4rem center;
    background-size: 0.8rem;
}

.compact-select:hover {
    border-color: #6366f1;
    background-color: white;
}

.compact-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

/* ==========================================
   繧ｹ繧ｳ繧｢陦ｨ遉ｺ
   ========================================== */

.score-display {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

/* 繧ｳ繝ｳ繝・く繧ｹ繝医ち繧ｰ */
.context-tags {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
    max-width: 180px;
}

/* 繧ｿ繧､繝繧ｹ繧ｿ繝ｳ繝・*/
.timestamp-group {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: row;
    /* 讓ｪ荳ｦ縺ｳ縺ｫ螟画峩 */
    align-items: center;
    gap: 0.5rem;
    font-size: 0.55rem;
    color: #94a3b8;
}

.divider {
    color: #cbd5e1;
}

.source-note {
    font-size: 0.55rem;
    color: #cbd5e1;
    font-weight: 400;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
    /* animation: float-soft 4s ease-in-out infinite; */
}

.tag-heat {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

.tag-cold {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.tag-storm {
    background: #f5f3ff;
    color: #5b21b6;
    border: 1px solid #a78bfa;
}

.tag-rain-warn {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.tag-risk {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

.tag-housing {
    background: #f3e8ff;
    color: #6b21a8;
    border: 1px solid #c084fc;
}

.score-value {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: var(--score-color, #6366f1);
    -webkit-text-fill-color: var(--score-color, #6366f1);
    line-height: 1;
    margin-bottom: 0.25rem;
    /* animation: breathe-soft 4s ease-in-out infinite; */
}

.score-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1rem;
}

/* ==========================================
   繝励Ο繧ｰ繝ｬ繧ｹ繝舌・
   ========================================== */

.score-bar-container {
    max-width: 400px;
    margin: 0 auto 1rem;
}

.score-bar {
    height: 16px;
    background: #f1f5f9;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.bar-current {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--score-color, #3b82f6);
    border-radius: 0;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px var(--score-color, #3b82f6);
    filter: brightness(1.2);
}

.bar-added {
    position: absolute;
    left: 67%;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 0;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px #10b981;
}

.bar-preview {
    position: absolute;
    left: 67%;
    top: 0;
    height: 100%;
    background: rgba(16, 185, 129, 0.3);
    border-radius: 0;
    width: 0%;
    opacity: 0;
    transition: all 0.2s;
}

.score-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #94a3b8;
}

.score-status {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.score-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.btn-details {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid #6366f1;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8rem;
}

.btn-details:hover {
    background: #6366f1;
    color: white;
}

.btn-details.active {
    background: #6366f1;
    color: white;
}

/* 繧ｫ繝・ざ繝ｪ繝翫ン・医ョ繝舌ャ繧ｰ・・*/
.env-monitor {
    display: none !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin: 0 auto 1rem;
    max-width: 100%;
    padding: 0.4rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #64748b;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
}

.env-monitor::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.05), transparent);
    animation: scan-line 4s linear infinite;
    pointer-events: none;
}

.env-item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* ==========================================
   蜀・ｨｳ繧ｨ繝ｪ繧｢
   ========================================== */

.breakdown-area {
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breakdown-area h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #1e293b;
    border-left: none;
    padding-left: 0;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.breakdown-item {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.breakdown-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.breakdown-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.breakdown-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

/* ==========================================
   邨ｱ蜷医＆繧後◆謖・ｨ呻ｼ医Α繝玖｡ｨ遉ｺ・・
   ========================================== */

.score-indicators-mini {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px dashed #e5e7eb;
}

.mini-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.mini-label {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 600;
}

.indicator-stars {
    font-size: 1.1rem;
    line-height: 1;
}

.star {
    color: #d1d5db;
    display: inline-block;
    transition: all 0.3s;
}

.star.filled {
    color: #fbbf24;
}

.indicator-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

@keyframes starPop {
    0% {
        transform: scale(1);
        color: #fbbf24;
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(0.8);
        color: #d1d5db;
    }
}

/* ==========================================
   陬・ｙ繧ｨ繝ｪ繧｢
   ========================================== */

.equipment-area {
    margin-bottom: 2rem;
}

.equipment-area h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-left: none;
    padding-left: 0;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.equipment-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: block;
}

.equipment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.equipment-checkbox {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.equipment-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.equipment-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.equipment-bonus {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.equipment-effect {
    font-size: 0.8rem;
    color: #64748b;
}

/* 驕ｸ謚樒憾諷九・繧｢繝九Γ繝ｼ繧ｷ繝ｧ繝ｳ・井ｸ頑嶌縺阪・邨ｱ蜷茨ｼ・*/
.equipment-checkbox:checked+.equipment-icon {
    transform: scale(1.2) rotate(10deg);
}

.equipment-card:has(.equipment-checkbox:checked) {
    background: #f5f3ff;
    border-color: #6366f1;
    border-width: 2px;
    padding: calc(0.75rem - 1px);
}

/* 鬟帙・霍ｳ縺ｭ繧九い繝九Γ繝ｼ繧ｷ繝ｧ繝ｳ */
@keyframes bounce-in {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.equipment-card.pulse {
    animation: bounce-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================
   轣ｽ螳ｳ繧ｷ繝翫Μ繧ｪ繧ｨ繝ｪ繧｢
   ========================================== */
.scenario-area {
    margin-top: 1.5rem;
}

.scenario-area h3 {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0.75rem;
    border-left: none;
    /* 髱偵＞繧､繝ｳ繝・Φ繝医ｒ豸医☆ */
    padding-left: 0;
}

.scenario-grid {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.scenario-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
}

.scenario-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.scenario-btn.active {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.scenario-icon {
    font-size: 1.25rem;
}

.scenario-label {
    font-size: 0.7rem;
    font-weight: 700;
}

/* ==========================================
   譏取律縺ｮ莠亥ｱ繧ｨ繝ｪ繧｢
   ========================================== */
.forecast-area {
    margin-top: 1.5rem;
}

.forecast-area h3 {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0.75rem;
    border-left: none;
    /* 髱偵＞繧､繝ｳ繝・Φ繝医ｒ豸医☆ */
    padding-left: 0;
}

.forecast-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(to right, #f0f9ff, #fff);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 1rem;
}

.forecast-icon {
    font-size: 2rem;
    background: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.forecast-content {
    flex: 1;
}

.forecast-title {
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 0.25rem;
}

.forecast-desc {
    font-size: 0.8rem;
    color: #64748b;
}

/* ==========================================
   CTA繧ｨ繝ｪ繧｢
   ========================================== */

.cta-area {
    margin-top: 1rem;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

/* ==========================================
   繝医・繧ｹ繝磯夂衍
   ========================================== */

/* 繧ｫ繝・ざ繝ｪ繝翫ン */
.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.cat-label {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    text-decoration: none;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cat-label:hover {
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.1);
}

#toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: white;
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.levelup {
    border-color: #fbbf24;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.toast.perfect {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    animation: perfectPulse 1s ease-in-out;
}

@keyframes perfectPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ==========================================
   繝ｬ繧ｹ繝昴Φ繧ｷ繝・
   ========================================== */

@media (max-width: 768px) {
    .selector-area {
        flex-direction: column;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .indicators {
        grid-template-columns: 1fr;
    }

    .score-value {
        font-size: 3rem;
    }

    .score-display {
        padding-top: 2.5rem;
    }

    .context-tags {
        top: 0.5rem;
        right: 0.5rem;
        max-width: 150px;
    }

    .tag {
        font-size: 0.55rem;
        padding: 0.15rem 0.4rem;
    }

    .inline-selectors {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }

    .compact-select {
        font-size: 0.7rem;
        padding: 0.2rem 1.25rem 0.2rem 0.4rem;
        width: 140px;
    }

    .breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-status {
        gap: 0.25rem;
    }

    .header-tag {
        padding: 0.2rem 0.4rem;
        font-size: 0.6rem;
    }

    #toast-container {
        right: 1rem;
        left: 1rem;
    }
}

/* ==========================================
   Recommendation Section
   ========================================== */
.recommendation-area {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.recommendation-header,
.cta-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.recommend-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0;
    /* Align with CTA title margin */
    color: #1e293b;
    text-align: center;
    border-left: none !important;
    /* Disable global h3 indent */
    padding-left: 0 !important;
}

.recommendation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.recommend-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.recommend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #6366f1;
}

.recommend-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.recommend-card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.recommend-card-rank {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    background: #6366f1;
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.recommend-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;

    line-height: 1.4;
}

.recommend-card-desc {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================
   Affiliate CTA Section
   ========================================== */
.cta-area {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    /* Unified with recommendation background */
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

/* cta-header is grouped with .recommendation-header above */
.cta-header {}

.cta-badge {
    display: inline-block;
    background: #6366f1;
    /* Match recommendation theme */
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.cta-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    border-left: none !important;
    /* Disable global h3 indent */
    padding-left: 0 !important;
}

.cta-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.cta-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cta-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #6366f1;
}

.cta-product-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: #ffffff;
    padding: 0.5rem;
}

.cta-product-body {
    padding: 0.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cta-product-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cta-product-price {
    font-size: 1rem;
    font-weight: 900;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.cta-product-btn {
    display: block;
    background: #6366f1;
    color: white;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem;
    border-radius: 6px;
    margin-top: auto;
}

.cta-product-btn:hover {
    background: #4f46e5;
}

.cta-disclaimer {
    font-size: 0.65rem;
    color: #64748b;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
    opacity: 0.8;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes breathe-soft {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.1));
    }

    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.3));
    }
}

@keyframes float-soft {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes scan-line {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}