/* Dashboard Showcase Section - Flat Apple Design */
.showcase-section {
    position: relative;
    background-color: #FFF9F8;
    padding: 3rem 0;
    overflow: hidden;
    margin-top: 1.5rem;
}

.showcase-section::before {
    content: '';
    position: absolute;
    top: 10%; right: 0; bottom: 0; left: 40%;
    background: radial-gradient(circle at 60% 50%, rgba(47, 111, 87, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.showcase-grid {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.showcase-left {
    flex: 0 0 35%;
    max-width: 35%;
}

.showcase-right {
    flex: 0 0 calc(65% - 2.5rem);
    max-width: calc(65% - 2.5rem);
}

/* Left Content */
.showcase-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: transparent;
    color: #2F6F57;
    border: 1px solid rgba(47, 111, 87, 0.2);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

.showcase-pill svg {
    width: 12px;
    height: 12px;
}

.showcase-left h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    color: #111827;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.highlight-green {
    color: #2F6F57;
    position: relative;
}

.showcase-left p {
    font-size: 1.05rem;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 0;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-row-icon {
    width: 42px;
    height: 42px;
    background: rgba(47, 111, 87, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2F6F57;
    flex-shrink: 0;
}

.feature-row-icon svg {
    width: 20px;
    height: 20px;
}

.feature-row-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-row-text strong {
    font-size: 0.95rem;
    color: #111827;
    font-weight: 700;
}

.feature-row-text span {
    font-size: 0.85rem;
    color: #6B7280;
}

.btn-showcase {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2F6F57;
    color: #fff;
    padding: 10px 18px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(47, 111, 87, 0.25);
    transition: all 0.3s ease;
}

.btn-showcase:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(47, 111, 87, 0.35);
    background: #255d48;
}

.showcase-trust {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #6B7280;
}

/* Right Content: Dashboard Card */
.dashboard-mockup {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(17, 24, 39, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-header h3 {
    font-size: 1.05rem;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.mockup-header h3 svg {
    color: #2F6F57;
}

.mockup-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #4B5563;
    background: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    font-weight: 500;
}

/* Mockup Inner Grid */
.mockup-grid-top {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 12px;
}

.mockup-grid-middle {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
}

.mockup-inner-card {
    background: #fff;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.inner-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.inner-card-title {
    font-size: 0.75rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

/* Specific Cards */
.card-plant {
    text-align: center;
    align-items: center;
}

.plant-status {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.plant-status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
}

.plant-image-container {
    height: 90px;
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plant-image-container img {
    max-height: 100%;
    object-fit: contain;
}

.progress-section {
    width: 100%;
    text-align: left;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #6B7280;
    margin-bottom: 8px;
}

.progress-header strong {
    color: #111827;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: #F3F4F6;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: #2F6F57;
    border-radius: 10px;
}

.progress-caption {
    font-size: 0.65rem;
    color: #2F6F57;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Chart Card */
.chart-container {
    flex-grow: 1;
    position: relative;
    padding-top: 6px;
}

.chart-svg {
    width: 100%;
    height: 90px;
    overflow: visible;
}

.chart-axis {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #9CA3AF;
    margin-top: 6px;
}

.chart-tooltip {
    position: absolute;
    top: -5px;
    right: 0;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #111827;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chart-tooltip span {
    color: #6B7280;
    font-weight: 500;
    font-size: 0.6rem;
}

/* Middle Row Cards */
.metric-value-large {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 2px;
}

.metric-label-small {
    font-size: 0.65rem;
    color: #6B7280;
}

.time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.time-item {
    display: flex;
    flex-direction: column;
}

.time-item strong {
    font-size: 0.85rem;
    color: #111827;
}

.time-item span {
    font-size: 0.65rem;
    color: #6B7280;
}

/* Score Ring */
.score-ring-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.score-ring {
    position: relative;
    width: 45px;
    height: 45px;
}

.score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-ring-bg {
    fill: none;
    stroke: #F3F4F6;
    stroke-width: 6;
}

.score-ring-fill {
    fill: none;
    stroke: #2F6F57;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 8; /* 92% */
}

.score-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.1;
}

.score-ring-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: #111827;
}

.score-ring-text span {
    font-size: 0.5rem;
    color: #6B7280;
}

.score-change {
    margin-top: 8px;
    font-size: 0.6rem;
    color: #10B981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Bottom Milestone Card */
.mockup-grid-bottom {
    margin-top: 12px;
    width: 100%;
}

.milestone-card-full {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    gap: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F4F9F6 100%);
    border: 1px solid rgba(47, 111, 87, 0.18);
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: 0 4px 14px rgba(47, 111, 87, 0.05);
}

.milestone-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.milestone-badge-icon {
    font-size: 1.8rem;
    background: #E8F3EF;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(47, 111, 87, 0.2);
    flex-shrink: 0;
}

.milestone-left h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2px 0;
}

.milestone-left span {
    font-size: 0.72rem;
    color: #2F6F57;
    font-weight: 600;
}

.milestone-middle {
    flex-grow: 1;
    max-width: 240px;
}

.milestone-middle .progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #4B5563;
    margin-bottom: 6px;
    font-weight: 500;
}

.milestone-middle .progress-header strong {
    color: #2F6F57;
}

.milestone-middle .progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
    margin: 0;
}

.milestone-middle .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2F6F57 0%, #10B981 100%);
    border-radius: 10px;
}

.milestone-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.reward-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #2F6F57;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(47, 111, 87, 0.25);
}

/* Trust Bar Below Section */
.showcase-trust-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.showcase-trust-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.trust-item-icon {
    width: 16px;
    height: 16px;
    color: #2F6F57;
}

.trust-item-text {
    display: flex;
    flex-direction: column;
}

.trust-item-text strong {
    font-size: 0.75rem;
    color: #111827;
}

.trust-item-text span {
    font-size: 0.65rem;
    color: #6B7280;
}

/* Responsive */
@media (max-width: 1024px) {
    .showcase-grid {
        flex-direction: column;
    }
    .showcase-left {
        max-width: 100%;
        text-align: center;
    }
    .showcase-left p {
        margin: 0 auto 3rem;
    }
    .feature-rows {
        align-items: center;
    }
    .feature-row {
        text-align: left;
        max-width: 300px;
    }
    .showcase-right {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .mockup-grid-top {
        grid-template-columns: 1fr;
    }
    .mockup-grid-middle {
        grid-template-columns: 1fr;
    }
    .milestone-card {
        flex-direction: column;
        text-align: center;
    }
    .milestone-progress {
        width: 100%;
    }
    .dashboard-mockup {
        padding: 16px;
    }
}

/* Shield/Leaf icon resize */
.showcase-left h2 svg {
    width: 18px !important;
    height: 18px !important;
    top: -6px !important;
    right: -16px !important;
}
