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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.phone-container {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

.phone-frame {
    background: white;
    border-radius: 40px;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    min-height: 800px;
}

.notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #000;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.content {
    padding-top: 50px;
    padding-bottom: 80px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.subtitle {
    color: #86868b;
    margin-bottom: 24px;
}

.search-bar {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.search-icon {
    margin-right: 8px;
}

.search-bar input {
    border: none;
    background: none;
    font-size: 16px;
    width: 100%;
    outline: none;
}

.filter-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding: 4px 0;
}

.pill {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    background: #f5f5f7;
    font-size: 14px;
    color: #1d1d1f;
    cursor: pointer;
    white-space: nowrap;
}

.pill.active {
    background: #0066ff;
    color: white;
}

.events-list, .projects-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 16px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.event-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.location {
    color: #86868b;
    font-size: 14px;
    margin-bottom: 12px;
}

.tag {
    background: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #0066ff;
}

.date {
    float: right;
    color: #0066ff;
    font-size: 14px;
}

/* Projects specific styles */
.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.project-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon {
    font-size: 40px;
}

.project-details {
    padding: 16px;
}

.project-details h3 {
    margin-bottom: 8px;
}

.project-details p {
    color: #86868b;
    font-size: 14px;
    margin-bottom: 12px;
}

.tech-stack {
    display: flex;
    gap: 8px;
}

.tech {
    background: #f5f5f7;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: #1d1d1f;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #86868b;
    font-size: 12px;
    gap: 4px;
}

.nav-item.active {
    color: #0066ff;
}

.nav-icon {
    font-size: 20px;
}

@media (max-width: 400px) {
    .phone-frame {
        border-radius: 0;
        min-height: 100vh;
    }
}

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

h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #333;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.matrix {
    position: relative;
    width: 100%;
    height: 800px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Grid lines */
.grid-line {
    position: absolute;
    background: #ddd;
}

.vertical {
    width: 1px;
    height: 100%;
    left: 50%;
}

.horizontal {
    width: 100%;
    height: 1px;
    top: 50%;
}

/* Axis labels */
.axis {
    position: absolute;
    color: #333;
    font-size: 14px;
}

.y-label {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.x-label {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.y-label-bottom {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.x-label-left {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Sticky notes */
.sticky-note {
    position: absolute;
    padding: 10px 15px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 14px;
    border-left: 3px solid;
    max-width: 150px;
}

/* Color coding */
.orange { border-left-color: #f4a261; }
.yellow { border-left-color: #ffd166; }
.blue { border-left-color: #a8dadc; }
.green { border-left-color: #84a59d; }

@media (max-width: 768px) {
    .matrix {
        height: 600px;
    }
    
    .sticky-note {
        font-size: 12px;
        padding: 8px 12px;
    }
}

.note {
    position: absolute;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 0.9rem;
    color: #333;
    background: white;
    transition: transform 0.2s;
    cursor: pointer;
    border-left: 3px solid;
}

.note:hover {
    transform: scale(1.05);
    z-index: 10;
}

.quadrant-label {
    position: absolute;
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

.top-left {
    top: 40px;
    left: 40px;
}

.top-right {
    top: 40px;
    right: 40px;
}

.bottom-left {
    bottom: 40px;
    left: 40px;
}

.bottom-right {
    bottom: 40px;
    right: 40px;
}

@media (max-width: 950px) {
    .matrix {
        width: 100%;
        height: 600px;
    }
    
    .note {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
    
    .quadrant-label {
        font-size: 0.7rem;
    }
}

.schedule-table {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.time-headers {
    display: grid;
    grid-template-columns: 120px repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.time {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
}

.schedule-row {
    display: grid;
    grid-template-columns: 120px repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.day {
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.activity {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: transform 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.icon {
    font-size: 1.5rem;
}

/* Activity types with different colors */
.fitness {
    background: #e3f2fd;
    color: #1565c0;
}

.food {
    background: #f3e5f5;
    color: #7b1fa2;
}

.outdoor {
    background: #e8f5e9;
    color: #2e7d32;
}

.social {
    background: #fff3e0;
    color: #ef6c00;
}

.culture {
    background: #f3e5f5;
    color: #6a1b9a;
}

@media (max-width: 768px) {
    .schedule-table {
        padding: 1rem;
    }

    .time-headers, .schedule-row {
        grid-template-columns: 80px repeat(4, 1fr);
        gap: 0.5rem;
    }

    .activity {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .icon {
        font-size: 1.2rem;
    }

    .day {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .time-headers {
        display: none;
    }

    .schedule-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 2rem;
        position: relative;
    }

    .day {
        background: #f8f9fa;
        padding: 0.5rem;
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }

    .activity {
        width: 100%;
    }
}

.circle {
    position: relative;
    width: 900px;
    height: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.quadrant {
    position: absolute;
    width: 400px;
    padding: 20px;
}

/* Position quadrants */
.top-left {
    top: 100px;
    left: 80px;
}

.top-right {
    top: 100px;
    right: 80px;
}

.bottom-left {
    bottom: 150px;
    left: 80px;
}

.bottom-right {
    bottom: 150px;
    right: 80px;
}

h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
}

.note {
    background: white;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 3px solid #ffd166;
    font-size: 16px;
}

/* Dividing lines */
.circle::before,
.circle::after {
    content: '';
    position: absolute;
    background: #eee;
}

.circle::before {
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
}

.circle::after {
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
}

@media (max-width: 1000px) {
    .circle {
        width: 100%;
        height: auto;
        border-radius: 0;
        padding: 20px;
    }
    
    .quadrant {
        position: relative;
        width: 100%;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: 20px 0;
    }
}

.instruction {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.diagram {
    position: relative;
    padding: 2rem;
}

.section {
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#section1 { background: #f8f9fa; }
#section2 { background: #e9ecef; }
#section3 { background: #dee2e6; }
#section4 { background: #ced4da; }

.sticky-note {
    background: #fff;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid #ffd166;
    margin-bottom: 0.5rem;
}

.sticky-note:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.add-button {
    display: block;
    margin: 2rem auto;
    padding: 0.8rem 1.5rem;
    background: #4a4e69;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.add-button:hover {
    background: #22223b;
}

.empathy-map {
    position: relative;
    width: 100%;
    height: 800px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
}

.pains { 
    background: #48cae4;
    border-top-left-radius: 10px;
}

.says-does { 
    background: #4a3b8b;
    border-top-right-radius: 10px;
}

.thinks-feels { 
    background: #3b429f;
}

.gains { 
    background: #d23669;
}

.hear { 
    background: #4a3b8b;
    border-bottom-left-radius: 10px;
}

.see { 
    background: #3b429f;
    border-bottom-right-radius: 10px;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    z-index: 10;
    border: 2px solid #e1e4e8;
}

.center-circle span {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .empathy-map {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 300px);
    }

    .quadrant {
        border-radius: 0;
    }

    .pains {
        border-top-right-radius: 10px;
    }

    .see {
        border-bottom-left-radius: 10px;
    }

    .center-circle {
        width: 80px;
        height: 80px;
        font-size: 0.9rem;
    }
}

/* Add draggable functionality styles */
.sticky-note.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.sticky-note.draggable {
    cursor: grab;
}

.event-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
} 