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

:root {
    --primary-color: #000000;
    --secondary-color: #424242;
    --accent-color: #0071e3;
    --text-color: #1d1d1f;
    --light-text: #6e6e73;
    --light-bg: #fbfbfd;
    --silver-bg: #f5f5f7;
    --border-color: #d2d2d7;
    --white: #ffffff;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.875rem;
    transition: color 0.3s;
    opacity: 0.8;
}

.nav-link:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, var(--silver-bg) 0%, var(--white) 100%);
    color: var(--text-color);
    padding: 8rem 20px;
    text-align: center;
}

.app-icon-hero {
    margin-bottom: 2rem;
}

.app-icon-hero img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -1.5px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--light-text);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    letter-spacing: -0.2px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #0077ed;
    transform: scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--silver-bg);
    border-color: var(--accent-color);
}

/* Sections */
section {
    padding: 5rem 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Apps Section */
.apps {
    background: var(--white);
}

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

.app-card {
    background: var(--silver-bg);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.app-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.app-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.app-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.app-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.app-link:hover {
    opacity: 0.7;
}

/* Books Section */
.books {
    background: var(--silver-bg);
}

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

.book-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.book-cover {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    background: var(--silver-bg);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.book-cover img {
    width: 200px;
    height: 300px;
    object-fit: contain;
}

.book-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.book-author {
    color: var(--light-text);
    font-weight: 400;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.book-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Resources Section */
.resources {
    background: var(--white);
}

.resource-highlight {
    margin-top: 3rem;
}

.resource-card {
    background: var(--silver-bg);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
}

.resource-card.featured {
    border: 2px solid var(--accent-color);
    text-align: center;
}

.resource-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.resource-card p {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.resource-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--silver-bg);
}

.contact-info {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-email {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s;
}

.contact-email:hover {
    opacity: 0.7;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: var(--silver-bg);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--silver-bg);
    padding: 2.5rem 20px;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-email a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s;
}

.footer-email a:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--silver-bg);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
    font-weight: 400;
}

.social-link:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .apps-grid,
    .books-grid {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
    }

    section {
        padding: 3rem 20px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* App Detail Pages */
.app-detail {
    padding: 4rem 20px;
    background: var(--white);
}

.app-description {
    margin-bottom: 4rem;
}

.app-description h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.app-description h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--light-text);
    line-height: 1.8;
    font-size: 1rem;
}

.cta-buttons {
    margin-top: 2.5rem;
}

.legal-links {
    background: var(--silver-bg);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
}

.legal-links h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.legal-links ul {
    list-style: none;
    padding: 0;
}

.legal-links li {
    margin-bottom: 0.75rem;
}

.legal-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s;
}

.legal-links a:hover {
    opacity: 0.7;
}

/* Legal Content Pages */
.legal-content {
    padding: 3rem 20px;
    background: var(--white);
    min-height: 80vh;
}

.legal-content .container {
    max-width: 900px;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

.policy-text {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
}

.policy-text h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    font-weight: 600;
}

.policy-text p {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.policy-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-text li {
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.policy-text a {
    color: var(--accent-color);
    text-decoration: none;
}

.policy-text a:hover {
    text-decoration: underline;
}
