:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --secondary-bg: #f3f4f6;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    margin-bottom: 3rem;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.top-nav {
    display: flex;
    gap: 1.5rem;
}

.top-nav a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

ph1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 1rem;
    border-bottom: 2px solid #3498db;
    display: inline-block;
    padding-bottom: 4px;
}

section {
    margin-bottom: 3rem;
    line-height: 1.7;
    color: #555;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.projects h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.project-card h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.4rem;
}

.project-card a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
}

.metrics {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: #27ae60;
    font-weight: 600;
}

.cta-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none !important;
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    margin: 0 10px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.copyright {
    color: #bdc3c7;
    font-size: 0.8rem;
}

footer a {
    color: #6b7280;
    text-decoration: none;
}

.bio {
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 3rem;
}

.bio h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.bio p:last-child {
    margin-bottom: 0;
}

footer a:hover {
    color: var(--primary-color);
}

.app-release {
    background-color: #f0f7ff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #d1e9ff;
}

.test-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e1e8f0;
    position: relative;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.step-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1rem;
}

.step-btn {
    display: block;
    text-align: center;
    background-color: #edf2f7;
    color: #2d3748 !important;
    text-decoration: none !important;
    padding: 0.6rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.step-btn:hover {
    background-color: #e2e8f0;
}

.support-box {
    margin-top: 1.5rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e1e8f0;
}

.support-box h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.support-box ul {
    list-style: none;
    font-size: 0.9rem;
}

.support-box li {
    margin-bottom: 4px;
}

@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    .test-steps {
        grid-template-columns: 1fr;
    }

    .project-group-lid {
        grid-template-columns: 1fr;
    }
}

.project-group-lid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.project-group-lid .project-card {
    height: 100%;
    /* Match height */
    display: flex;
    flex-direction: column;
}

.project-group-lid .project-card p {
    flex-grow: 1;
}

/* App Release & QR Styles */
.release-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e1e8f0;
    text-align: center;
    max-width: 480px;
    width: 100%;
    margin: 2rem auto;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1), 0 8px 10px -6px rgba(37, 99, 235, 0.1);
    transition: transform 0.2s;
}

.release-card:hover {
    transform: translateY(-2px);
}

.release-card h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.qr-box {
    background: white;
    padding: 1rem;
    display: inline-block;
    margin: 1.5rem 0;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    position: relative;
}

.qr-image {
    width: 180px;
    height: 180px;
    display: block;
    border-radius: 4px;
}

.scan-hint {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.download-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    transition: background-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.download-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.3);
}