/* General Body & Typography */
:root {
    --master-bg: #f4f7f6;
    --master-text: #333;
    --master-primary: #007aff; /* A standard blue for the master brand */
    --master-white: #ffffff;
    --master-border: #dde3e1;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: var(--master-bg);
    color: var(--master-text);
    line-height: 1.6;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
}

a {
    color: var(--master-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* Master Header */
.master-header {
    background-color: var(--master-white);
    border-bottom: 1px solid var(--master-border);
    padding: 20px 0;
}

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

.master-logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--master-text);
}

.master-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.master-nav a {
    color: var(--master-text);
    font-weight: 500;
    text-decoration: none;
}

/* Master Hero Section */
.master-hero {
    background-color: var(--master-white);
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid var(--master-border);
}

.master-hero h2 {
    font-size: 3rem;
    max-width: 700px;
    margin: 0 auto 20px;
}

.master-hero p {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Apps Showcase Section */
.apps-showcase {
    padding: 80px 0;
}

.apps-showcase h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    justify-content: center;
}

.app-card {
    background-color: var(--master-white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.app-card-link {
    display: flex;
    align-items: center;
    padding: 30px;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.app-logo {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    flex-shrink: 0;
}

.app-info h4 {
    margin: 0 0 5px;
    font-size: 1.4rem;
}

.app-info p {
    margin: 0;
    font-size: 1rem;
    color: #555;
}

.app-card-footer {
    margin-top: auto;
    padding: 20px 30px;
    border-top: 1px solid var(--master-border);
    background-color: #fafafa;
}

.visit-website-btn {
    display: inline-block;
    background-color: var(--master-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}
.visit-website-btn:hover {
    background-color: #0056b3;
    text-decoration: none;
}

.app-card.placeholder {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.app-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #adb5bd;
}

/* About Section */
.about-section {
    background-color: var(--master-white);
    padding: 80px 0;
    border-top: 1px solid var(--master-border);
}

.about-section .container {
    max-width: 800px;
    text-align: center;
}

.about-section h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Master Footer */
.master-footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

.master-footer a {
    color: #555;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .master-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .master-nav ul {
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .master-hero h2 {
        font-size: 2.2rem;
    }
}
