﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f4f4f4;
    color: #222;
    transition: background 0.3s, color 0.3s;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrap {
    flex: 1;
}

/* Header & Logo */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.logo-section {
    display: flex;
    align-items: center;
}

.shop-logo {
    height: 50px;
    margin-right: 15px;
}

.title {
    font-size: 1.5em;
    margin: 0;
}

.tools {
    display: flex;
    gap: 20px;
    align-items: center;
}

#darkToggle {
    background: #333;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

#liveClock {
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f857a6, #ff5858);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

    .hero-section h1 {
        font-size: 2.6em;
        margin-bottom: 10px;
    }

    .hero-section p {
        font-size: 1.2em;
        max-width: 700px;
        margin: 0 auto;
    }

.btn-primary {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background: white;
    color: #d63384;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

    .btn-primary:hover {
        background: #ffe0ec;
        color: #c2185b;
    }

/* Features */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;
    gap: 20px;
}

.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: transform 0.2s;
}

    .card:hover {
        transform: translateY(-6px);
    }

/* Chart Section */
.chart-container {
    max-width: 700px;
    margin: 40px auto;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #ddd;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

/* 🌙 Dark Mode Support */
body.dark-mode {
    background: #1e1e2f;
    color: #e0e0e0;
}

    body.dark-mode .hero-section {
        background: linear-gradient(135deg, #333, #111);
    }

    body.dark-mode .card {
        background: #2d2f4c;
        color: #fff;
    }

    body.dark-mode .footer {
        background: #111;
    }

    body.dark-mode .header {
        background: #222;
    }

    body.dark-mode #darkToggle {
        background: #ddd;
        color: #000;
    }
