/* Product Hero */
.product-hero {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
}

.product-hero .badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.product-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Package Includes */
.package-includes {
    padding: 4rem 0;
    background: var(--light-bg);
}

.package-includes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.include-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.include-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.include-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.include-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Live Demo Section */
.live-demo {
    padding: 4rem 0;
    background: var(--card-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.demo-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.demo-panel {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.panel-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.time-display {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.status-indicator {
    font-size: 0.9rem;
    font-weight: 600;
}

.status-indicator.online {
    color: var(--secondary-color);
}

/* Floor Map */
.floor-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.zone {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.zone:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.zone-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.zone-occupancy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.occupancy-icon {
    font-size: 1.2rem;
}

.occupancy-count {
    font-weight: 700;
    font-size: 1.1rem;
}

.zone-temp {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.zone-status {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    margin-top: 0.5rem;
}

.status-active {
    background: var(--secondary-color);
    color: var(--text-light);
}

.status-eco {
    background: #FFA500;
    color: var(--text-light);
}

.status-off {
    background: #999;
    color: var(--text-light);
}

.demo-legend {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* Automation Log */
.automation-log {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.log-entry {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border-left: 4px solid #ccc;
}

.log-entry.log-info {
    border-left-color: var(--primary-color);
}

.log-entry.log-success {
    border-left-color: var(--secondary-color);
}

.log-entry.log-warning {
    border-left-color: #FFA500;
}

.log-time {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.log-message {
    color: var(--text-primary);
    line-height: 1.6;
}

.log-message strong {
    color: var(--primary-color);
}

.log-savings {
    margin-top: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.automation-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

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

.auto-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.auto-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Zone Controls */
.zone-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.temp-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.temp-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--card-bg);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.temp-btn:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.temp-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
    text-align: center;
}

.mode-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.mode-btn {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mode-btn:hover {
    border-color: var(--primary-color);
}

.mode-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.sensor-data {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

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

.sensor-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.sensor-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.schedule-info {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
}

.schedule-info h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--light-bg);
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.schedule-item.upcoming {
    opacity: 0.6;
}

.schedule-time {
    font-weight: 600;
    color: var(--primary-color);
}

/* Reporting Section */
.reporting {
    padding: 4rem 0;
    background: var(--light-bg);
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.report-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.report-card.large {
    grid-column: span 2;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.report-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.time-range-selector {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--light-bg);
    font-weight: 600;
    cursor: pointer;
}

.chart-container {
    height: 300px;
    margin-bottom: 1rem;
}

.chart-summary {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

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

.summary-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.summary-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.summary-value.positive {
    color: var(--secondary-color);
}

/* Cost Breakdown */
.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cost-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.cost-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cost-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.cost-comparison {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cost-comparison.positive {
    color: var(--secondary-color);
    font-weight: 600;
}

.cost-chart {
    height: 200px;
}

/* Zone Performance */
.zone-performance-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.performance-item {
    display: grid;
    grid-template-columns: 140px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.performance-zone {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.performance-bar {
    background: var(--light-bg);
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.performance-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    height: 100%;
    border-radius: 12px;
    transition: width 0.5s ease;
}

.performance-value {
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

.performance-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Carbon Impact */
.carbon-stats {
    text-align: center;
}

.carbon-stat {
    margin-bottom: 2rem;
}

.carbon-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.carbon-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.carbon-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.carbon-comparison {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
}

.carbon-comparison p {
    font-weight: 600;
    margin-bottom: 1rem;
}

.carbon-comparison ul {
    list-style: none;
    padding: 0;
}

.carbon-comparison li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Pattern Insights */
.pattern-insights {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.pattern-insights h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.pattern-insights ul {
    list-style: none;
    padding: 0;
}

.pattern-insights li {
    padding: 0.5rem 0;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background: var(--card-bg);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.package-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 2rem 0;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0.25rem;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-includes {
    margin: 2rem 0;
}

.pricing-includes h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-includes ul {
    list-style: none;
    padding: 0;
}

.pricing-includes li {
    padding: 0.6rem 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-support {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 0.95rem;
}

.purchase-btn {
    width: 100%;
    padding: 1.2rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.purchase-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.purchase-btn.featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.roi-estimate {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Add-ons */
.pricing-addons {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.pricing-addons h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.addon-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.addon-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.addon-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Guarantee */
.pricing-guarantee {
    margin-top: 3rem;
}

.pricing-guarantee h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.guarantee-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 12px;
}

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guarantee-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.guarantee-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Bottom */
.cta-bottom {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.cta-bottom h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-bottom p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-bottom .cta-btn {
    background: var(--text-light);
    color: var(--primary-color);
}

.cta-bottom .cta-btn:hover {
    background: var(--light-bg);
}

.cta-bottom .cta-btn-secondary {
    background: transparent;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.cta-bottom .cta-btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .reports-grid {
        grid-template-columns: 1fr;
    }

    .report-card.large {
        grid-column: span 1;
    }

    .demo-container {
        grid-template-columns: 1fr;
    }

    .floor-map {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .floor-map {
        grid-template-columns: 1fr;
    }

    .mode-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .sensor-data {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .addons-grid {
        grid-template-columns: 1fr;
    }

    .guarantee-grid {
        grid-template-columns: 1fr;
    }
}
