/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

/* --- CSS Variables --- */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F8F8;
    --text-primary: #0D0C22;
    --text-secondary: #6E6D7A;
    --brand-color: #EA4C89; /* Dribbble Pink */
    --border-color: #E7E7E9;
    --shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Header & Navigation --- */
.header {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: block;
}

.nav-logo img {
    height: 32px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--bg-primary);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    z-index: 10;
    padding: 8px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: var(--bg-secondary);
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--brand-color);
    color: #FFF;
    border-color: var(--brand-color);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: #d9d9de;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1 1 500px; /* Allow wrapping */
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 24px 0 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1 1 500px; /* Allow wrapping */
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* --- Content Sections --- */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 16px auto 0;
}

/* --- App Grid --- */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.app-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.app-card-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.app-status {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-status.completed {
    color: #34C759;
    background-color: rgba(52, 199, 89, 0.1);
}

.app-status.development {
    color: #8A8A8E;
    background-color: rgba(138, 138, 142, 0.1);
}

.app-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.app-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.app-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.app-card p {
    font-size: 14px;
    color: var(--text-secondary);
    flex-grow: 1;
}

.app-card-links {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.app-card .app-link {
    color: var(--brand-color);
    font-weight: 500;
    font-size: 14px;
}

/* --- Privacy Policy Specifics --- */
.app-card-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 8px;
}

.app-card-content ul {
    list-style-position: outside;
    padding-left: 20px;
    margin-bottom: 16px;
}

.app-card-content li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.app-card-content li strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-secondary);
    padding: 64px 0;
    color: var(--text-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.footer-section ul li {
    margin-bottom: 16px;
}

.footer-section a:hover {
    color: var(--brand-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    text-align: center;
    font-size: 14px;
}

/* --- Generic page styles for sub-pages --- */
.page-header {
    background-color: var(--bg-secondary);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
    font-size: 40px;
    font-weight: 700;
}
.page-content {
    padding: 40px 0;
}


/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none; /* Example: hide for a mobile menu icon */
    }
    
    .hero h1 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 28px;
    }
} 