@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');
/* =========================================
   SHIZOTECH — hand-crafted identity
   L300 Collective | Creative-Technical Hub
   Warm paper base + deep ink + one amber accent.
   No gradients, one confident brand color.
   ========================================= */

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

:root {
    /* Brand palette: warm off-white base, deep ink, one saturated amber accent */
    --paper: #f6f1ea;
    --paper-alt: #efe8de;
    --surface-light: #ffffff;
    --surface-dark: #f6f1ea;
    --ink: #1a1714;
    --ink-soft: #5b554d;
    --accent: #e85d2a;
    --accent-soft: rgba(232, 93, 42, 0.12);
    --accent-dark: #c24a1f;
    --border-color: #e3dccf;

    /* Spacing rhythm (4 / 8 / 12 / 16 / 24 / 32 / 48 / 64) */
    --s1: 4px;
    --s2: 8px;
    --s3: 12px;
    --s4: 16px;
    --s5: 24px;
    --s6: 32px;
    --s7: 48px;
    --s8: 64px;

    /* Type scale: big display vs quiet body */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --fs-display: 3.5rem;
    --fs-h2: 2.375rem;
    --fs-h3: 1.375rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;

    /* Shadows & radii */
    --shadow-sm: 0 1px 2px 0 rgba(26, 23, 20, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(26, 23, 20, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(26, 23, 20, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(26, 23, 20, 0.12);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: var(--fs-body);
}

/* Typography hierarchy: characterful display headings vs quiet body */
h1, h2, h3, h4,
.hero-title, .section-title, .about-content h2 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

/* Navigation */
.navbar {
    background: rgba(246, 241, 234, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--s4) var(--s5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--s3);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--ink);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
}

.nav-links {
    display: flex;
    gap: var(--s5);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--s2);
}

.hamburger svg {
    width: 24px;
    height: 24px;
    color: var(--ink);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: var(--s4) var(--s5);
    gap: var(--s3);
}

.mobile-menu-link {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    padding: var(--s3) var(--s4);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    background: var(--paper-alt);
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: var(--s8) var(--s5) 96px;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: var(--s2) var(--s4);
    border-radius: 50px;
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: var(--s5);
}

.hero-title {
    font-size: var(--fs-display);
    line-height: 1.15;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--s4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--ink-soft);
    margin-bottom: var(--s6);
    line-height: 1.7;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: var(--s3);
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    padding: var(--s4) var(--s5);
    font-weight: 600;
    font-size: var(--fs-body);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Section Styles */
.section {
    padding: var(--s8) var(--s5);
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: left;
    margin-bottom: var(--s7);
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--s3);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--ink-soft);
    max-width: 600px;
    margin: 0;
}

/* Centered header modifier — applied to the Apps section only */
.section-header.centered {
    text-align: center;
}
.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* App Showcase Section */
.app-showcase {
    background: var(--paper-alt);
    padding: var(--s8) var(--s5);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--s5);
    max-width: 1280px;
    margin: 0 auto;
}

.app-card {
    background: var(--surface-light);
    border-radius: var(--radius-xl);
    padding: var(--s5);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

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

/* Hand-crafted detail: a single confident accent bar (not a gradient) */
.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
}

.app-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: var(--s4);
}

.app-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2;
}

.app-name {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--s3);
}

.app-description {
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: var(--s4);
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.app-link:hover {
    gap: var(--s3);
}

/* Public Pages Section */
.public-pages {
    background: var(--surface-light);
    padding: var(--s8) var(--s5);
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--s4);
    max-width: 1280px;
    margin: 0 auto;
}

.page-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-light);
    border-radius: var(--radius-lg);
    padding: var(--s4);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--ink);
}

.page-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.page-header {
    display: flex;
    align-items: center;
    gap: var(--s3);
    margin-bottom: var(--s4);
}

.page-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.page-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.page-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--ink);
}

.page-description {
    color: var(--ink-soft);
    line-height: 1.6;
    font-size: 0.9375rem;
    margin-bottom: var(--s4);
}

.page-link-label {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: var(--s2);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    background: var(--paper-alt);
    padding: var(--s8) var(--s5);
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s7);
    align-items: center;
}

.about-content h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--s4);
}

.about-content p {
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: var(--s4);
    font-size: 1.125rem;
    max-width: 480px;
}

.collective-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s4);
    margin-top: var(--s5);
}

.collective-card {
    background: var(--surface-light);
    padding: var(--s4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.collective-card h3 {
    font-family: var(--font-display);
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: var(--s2);
}

.collective-card p {
    color: var(--ink-soft);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Designed zero-state: a hand-made monogram block instead of a gradient box */
.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.about-image-placeholder svg {
    width: 160px;
    height: auto;
}

/* Services Section */
.services-section {
    background: var(--surface-light);
    padding: var(--s8) var(--s5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--s5);
    max-width: 1280px;
    margin: 0 auto;
}

.service-card {
    background: var(--surface-light);
    padding: var(--s5);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: var(--s4);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 2;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--s3);
}

.service-card p {
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: var(--s4);
}

/* Footer */
.footer {
    background: var(--ink);
    color: #fff;
    padding: var(--s8) var(--s5) var(--s5);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--s6);
    margin-bottom: var(--s6);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--s3);
    color: #fff;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--s4);
    font-size: 0.9375rem;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--s4);
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--s3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: var(--s5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--fs-small);
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 96px var(--s5) 64px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .about-image-placeholder {
        height: 300px;
    }

    .about-image-placeholder svg {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 72px var(--s4) 48px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section,
    .app-showcase,
    .public-pages,
    .about-section,
    .services-section {
        padding: var(--s7) var(--s4);
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: var(--s4);
    }

    .mobile-menu-links {
        padding: var(--s4);
    }
}

/* App spotlights: three symmetric equal-width cards in one row (collapses to a single column on small screens) */
.app-spotlights {
    max-width: 1100px;
    margin: 0 auto var(--s6);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s5);
    align-items: stretch;
}

@media (max-width: 800px) {
    .app-spotlights {
        grid-template-columns: 1fr;
    }
}
