/* 
    Zeno Canvas Style 
    Design System: Rikon Rahman Inspired (Blue/Slate)
*/

:root {
    /* Base Palette */
    --color-primary: #3b82f6;
    --color-secondary: #2563eb;
    --color-bg: #ffffff;
    --color-bg-secondary: #f1f5f9; /* Slate 100 is better for massive alternating sections than e2e8f0 */
    --color-text: #0f172a;
    --color-text-secondary: #475569;
    --color-border: #e2e8f0; /* Slate 200 for visible borders */
    
    /* Layout */
    --radius-button: 12px;
    --radius-card: 20px;
    --radius-icon: 16px;
    
    --shadow-subtle: rgba(15, 23, 42, 0.06) 0px 0px 0px 1px, rgba(15, 23, 42, 0.04) 0px 2px 4px 0px, rgba(15, 23, 42, 0.08) 0px 8px 24px -12px;
    --shadow-hover: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px, rgba(59, 130, 246, 0.6) 0px 8px 20px -8px;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    line-height: 1.1;
    color: var(--color-text);
}
h1 { font-weight: 700; letter-spacing: -1.5px; }
h2 { font-weight: 700; letter-spacing: -0.8px; }
h3, h4 { font-weight: 600; letter-spacing: -0.2px; }

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.2s;
}
a:hover {
    color: var(--color-secondary);
}

/* --- Layout & Utilities --- */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* --- Header / Nav --- */
header {
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-bg);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

nav a {
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 15px;
}
nav a:hover, nav a.active {
    color: var(--color-text);
}

.btn-nav {
    background-color: transparent;
    color: var(--color-text);
    padding: 10px 16px;
    border-radius: var(--radius-button);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--color-border);
}
.btn-nav:hover {
    background-color: var(--color-bg-secondary);
}

/* --- Hero Section --- */
.hero {
    padding: 12rem 4rem 8rem 4rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 19px;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    border-radius: var(--radius-button);
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: var(--color-secondary);
    color: #ffffff;
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.email-capture {
    display: flex;
    gap: 8px;
    justify-content: center;
    max-width: 440px;
    margin: 0 auto;
}

.email-capture input {
    flex-grow: 1;
    padding: 13px 20px;
    border-radius: var(--radius-button);
    border: 1px solid var(--color-border);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    background: #ffffff;
    color: var(--color-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.email-capture input::placeholder {
    color: #94a3b8;
}

.email-capture input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.spam-notice {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-top: 1rem;
}

/* --- About Section --- */
.about-section {
    padding: 88px 4rem;
    background-color: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-container h2 {
    font-size: 40px;
    letter-spacing: -0.8px;
    margin-bottom: 1.5rem;
}

.about-container p {
    font-size: 19px;
    color: var(--color-text-secondary);
}

/* --- Studio Collection (Apps Grid) --- */
.collection-section {
    padding: 88px 4rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 40px;
    letter-spacing: -0.8px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.app-card {
    background: #ffffff;
    padding: 28px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.app-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-icon);
    object-fit: cover;
    background-color: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.app-title {
    font-size: 20px;
    letter-spacing: -0.2px;
}

.app-category {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.app-desc {
    font-size: 16px;
    color: var(--color-text-secondary);
    flex-grow: 1;
    margin-bottom: 24px;
    line-height: 1.6;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    background: var(--color-bg-secondary);
    color: var(--color-text-secondary);
}

.pill.primary {
    background: #eff6ff;
    color: var(--color-secondary);
}

.tag-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: #eff6ff;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.construction-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #fffbeb;
    color: #b45309;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    z-index: 10;
}

/* --- Footer --- */
footer {
    background-color: var(--color-text);
    color: #ffffff;
    padding: 88px 4rem 2rem 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

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

.footer-column h4 {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ffffff;
    font-size: 15px;
    opacity: 0.8;
}
.footer-column a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    header { padding: 1.5rem 2rem; }
    .hero { padding: 8rem 2rem 4rem 2rem; }
    .hero h1 { font-size: 40px; }
    .email-capture { flex-direction: column; }
    .email-capture button { width: 100%; }
    .about-section { padding: 4rem 2rem; }
    .collection-section { padding: 4rem 2rem; }
    .footer-content { grid-template-columns: 1fr; gap: 3rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
    nav ul { display: none; }
}