:root {
    --primary-color: #2A9D8F;
    --secondary-color: #3AAFCB;
    --accent-color: #E9C46A;
    --dark-color: #1E1E1E;
    --light-color: #F5F5F5;
    --text-color: #333333;
    --light-text-color: #666666;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    padding: 0;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.app-badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Main Content */
main {
    padding: 2rem;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--light-text-color);
    margin-bottom: 2rem;
    text-align: right;
    font-style: italic;
}

section {
    margin-bottom: 3rem;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
}

p {
    margin-bottom: 1.2rem;
}

/* Permissions Section */
.permissions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.permission-item {
    background-color: rgba(58, 175, 203, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.permission-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background-color: rgba(58, 175, 203, 0.1);
}

.permission-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.permission-icon i {
    color: white;
    font-size: 20px;
}

.permission-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.permission-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}

.feature-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Info Box */
.info-box {
    background-color: rgba(233, 196, 106, 0.15);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
}

.info-box p {
    margin-bottom: 0;
    font-weight: 500;
}

/* Contact Section */
.contact-box {
    background-color: rgba(42, 157, 143, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.contact-item p {
    margin-bottom: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.app-stores {
    margin-top: 0.5rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.store-badge:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.store-badge i {
    margin-right: 0.5rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    .container {
        border-radius: 0;
    }

    header {
        padding: 1.5rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    main {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

    .contact-box {
        padding: 1rem;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .info-box i {
        margin: 0 0 1rem 0;
        font-size: 2rem;
    }

    footer {
        padding: 1.5rem;
    }
}

/* Dark Mode Support - Add a media query for users with dark mode preference */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #121212;
        --text-color: #e0e0e0;
        --light-text-color: #a0a0a0;
        --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .container {
        background-color: #1e1e1e;
    }

    .permission-item {
        background-color: rgba(58, 175, 203, 0.1);
    }

    .permission-item:hover {
        background-color: rgba(58, 175, 203, 0.15);
    }

    .info-box {
        background-color: rgba(233, 196, 106, 0.1);
    }

    .contact-box {
        background-color: rgba(42, 157, 143, 0.1);
    }
}
